Its kind of annoying how clicks on UI elements interact with the game world right? And the documentation is kind of sketchy on how to fix this.
Here are three sure fire ways to block clicks on UI elements. I recommend watching the whole video, and choosing the one that suits your project best.
*****
Feel free to ask questions in the comments and I will respond as soon as I'm able. You can find source code for all of these tutorials over at https://bitbucket.org/BoredMormon/you...
If you liked these tutorials and you want to help me make more, you can donate on my website. http://kiwasi.com/donate.html
If you really really like my tutorials, come support me on Patreon. / kiwasi
You can also contact me for free lance coding work on your projects. http://kiwasi.com/contact.html
On this page of the site you can watch the video online Unity UI - Blocking clicks with a duration of hours minute second in good quality, which was uploaded by the user Kiwasi Games 28 December 2014, share the link with friends and acquaintances, this video has already been watched 114,333 times on youtube and it was liked by 1.6 thousand viewers. Enjoy your viewing!