Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: yahodahan on June 22, 2012, 02:30:28 PM

Title: Depth not working as expected
Post by: yahodahan on June 22, 2012, 02:30:28 PM
I'm having trouble with Depth in NGUI.

For the most part, it works fine. But occasionally text will refuse to "obey" the depth number, and render on top of/underneath things it shouldn't. I have found that moving the z position back and forth always works to force a depth, however this seems the wrong way to go about it, when you have such a nice depth system built in.

The other problem with moving on the z is, if I move a text item on the z, ALL text items in my scene move forward/back in visual depth. However, the z position shown for the selected transform, is not reflected in the other text items- they just mimic it's visual depth.

I haven't been able to find a similar problem+solution, am I just doing something wrong? Are there some typical user-errors I should check?

Thanks for the help!
Title: Re: Depth not working as expected
Post by: ryan on June 22, 2012, 03:23:22 PM
http://www.tasharen.com/forum/index.php?topic=767 (http://www.tasharen.com/forum/index.php?topic=767)
Title: Re: Depth not working as expected
Post by: yahodahan on June 22, 2012, 06:41:03 PM
Ah, thanks ryan. Seems I missed that- does Google search hit these forums? Next time I search locally too :)