OnMouseDown should not work over NGUI

92 Views Asked by At

I have gameobjects where OnMouseDown event attached and its event working fine but the problem is the event is also working when NGUI UITexture is open. I want to prevent OnMouseDown when mouse over the UITexture. I have used

UICamera.hoveredObject

but it still detecting onMouseDown event from UITexture.

0

There are 0 best solutions below