uGui blocking raycast input

Ask for help and post bugs.

uGui blocking raycast input

Postby Colobo » Fri Jun 26, 2015 2:48 am

Hello all,

First of all, thank you for this amazing asset.

I have a uGUI menu and under this I have a in game 2D collider.

The problem is when I interact with the window, the input go through the window and the collider get it.

How can I block the ray when I have a window open?

Thank you very much.

EDIT: I have seen IsPointerOverGameObject: http://docs.unity3d.com/ScriptReference/EventSystems.EventSystem.IsPointerOverGameObject.html but I woudn't like to use that all over the code.
Colobo
 
Posts: 2
Joined: Fri Jun 26, 2015 2:41 am

Return to Help and Bugs

Who is online

Users browsing this forum: No registered users and 2 guests