Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - ishti10

Pages: [1]
1
NGUI 3 Support / Bug: Label hides behind sprite with explicit Render Q
« on: February 17, 2014, 04:09:29 AM »
Create a panel
Create a child white box sprite
Create a child label with colored text
Set panels Render Q to explicit
Label can not be seen anymore
Depth order of children widgets doesn't seem to matter
I believe it is a bug

Only workaround is to put a panel on label and set explicit render Q to +1. This is not a good workaround.

2
NGUI 3 Support / Depth Order and Colliders conflicts in NGUI 3.x
« on: February 08, 2014, 05:09:07 PM »
Hi I have had an issue after converting from NGUI 2.x to 3.x

I have a collider set back at z=0 and size 10, and i have an ngui widget(with children like labels and sprites) in front of it at z= -40 with a collider of size 10. The widget is in a panel with depth-order 0. The camera also is facing such that z increasing is further away.

The problem is that when the 2 colliders overlap in x and y my mouse clicks don't register on the frontmost object being the widget, even though they are seperated in z.

But if I move the depth-order of my panel to 1 it does register the mouse clicks.
Unfortunately my drag and drop breaks if I move the depth order to 1.

Could someone help me understand why this might be happening and what are the pertinent changes in NGUI 3.x that I should be more wary of?

Pages: [1]