Quantcast
Channel: 万年素人からHackerへの道
Viewing all articles
Browse latest Browse all 1095

NGUIでGUIのボタン以外にタップした時のみ反応させたい Unity

$
0
0
タップで操作したいときに、関係ないボタンの上でタップしても タップとボタンの処理が同時に行われてしまう。 調べるとあった。 URL: http://caitsithware.sakura.ne.jp/wordpress/?p=61 重要なのは、メッセージを送りたいGameObjectをUICamera.fallThroughに代入し void OnEnable() { UICamera.fallThrough = gameObject; } void OnDisable() { UICamera.f ...

Viewing all articles
Browse latest Browse all 1095

Trending Articles