Quantcast
Channel: Unity Forum
Viewing all articles
Browse latest Browse all 1466670

Need Help: UI Consuming Click

$
0
0
I have an issue in my game where the click of a button passes through and affects my game in ways I don't want. What I want is for the button to consume the click and stop it from going further.

So I read this from @Tim C in another topic:

"Mouse clicks go though the standard input handling. It doesn't prevent clicks going through to the scene view (we don't consume the click), but in the game you can query the event system to ask it if the pointer is over an event...

Need Help: UI Consuming Click

Viewing all articles
Browse latest Browse all 1466670

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>