Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: cchute on September 15, 2014, 01:51:51 PM
-
Hello I am having an issue with Labels when they are instantiated from prefabs.
It seems pretty simple but I can't find a solution. Basically I instantiate a label, and set it's depth to -10 for example.
When doing so, it is drawn in front of all other objects. For instance a UISprite at depth -3 is behind this Label. Is this a bug or perhaps I am missing something?
Thanks in advance
-
The depth is relative to the parent panel. Everything drawn is first determined by camera depth, then panel depth, then widget depth.