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
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