How to prevent mouse click from going through the GUI.Box
Hello,
I'm currently developing a clicker game, and when i open a menu the mouse clicks go through it and affects the buttons behind. I've looked around and saw a lot of similar questions from 2011/2012 so is there any new way to deal with this? Is now possible to "solidify" the GUI elements?
I'm looking from a different answer than disabling the canvas or creating a script and attach it to the canvas.
Thanks, happy codding everyone.
Your answer
Follow this Question
Related Questions
How add(create) a new gameobject on scene on mouse button click. 2 Answers
Need help with doing something in my game 0 Answers
how can i move my gameobject on mouse click by script?? 2 Answers
Is OnMouseUpAsButton() can be called only once ? 2 Answers
How to change the color of the each phase of the cube separately ? 0 Answers