0

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.

Muhammad Faizan Khan
  • 10,013
  • 18
  • 97
  • 186

0 Answers0