LoginSignup
0
0

More than 5 years have passed since last update.

Phaser タッチイベント 優先順位

Posted at

Button.input.priorityID

priorityIDは、入力イベントが発生したときに優先するゲームオブジェクトを決定するために使用されます。 たとえば、複数のスプライトが重なっている場合、デフォルトでは、表示リストの一番上にあるものに入力イベントの優先順位が与えられます。 これは、priorityID値を制御することでこれを止めることができます。 値が大きいほど、入力イベントとみなされる重要性が高くなります。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0