Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: nugao on October 16, 2013, 11:11:21 PM
-
Hello, I get a trouble NGUI 3.0.2.
There's a gameobject A, it have only component BoxCollider, and its Children unactive. The other gameobject B is like A all children unactive. A and B in same level.
A's BoxCollider.pos.z == -0.01;
B's BoxCollider.pos.z == -0.02;
A and B are can click ,when a part of B overlay A, A is clicked and a child Sprite of A is active, then the overlap part can't click to active B's one child, the debug info last hit is still on A.
But first B is clicked and its a child is active, the overlap part is work all right.
I don't know how to fix it...I need some help.
-
I found change depth to fix my trouble, but why ?
Can Depth affect Z value of BoxCollider ?
-
Oh ,it's my fault.
I miss this:
"NEW: UICamera now has "world" and "UI" event types that affect how raycasts are processed."