Hello,
I just recently purchased ngui, and watched all the tutorial videos. Maybe this is really simple, or I missed it, but what is the suggested implementation for determining if a mouse button down or finger down happens, and whether or not it happened on a ngui control?
Previously I have an update method, and each time I check the mouse position, if its not over my UI, I check if any mouse buttons are down, and do scene picking via raycast.
Would I just hook into the uiroot's click events and perform a raycast for scene picking? Do I need to do anything specific to support touch vs mouse? What happens if my mouse goes down on a 3d object, is dragged over a button, and released..
My game has UI input handling and non-UI input handling, for scene picking and camera manipulation. Its not clear to me how to handle input. Suggestions?
Thanks for any help.