1
NGUI 3 Support / Re: Multiple UIPanel in the same hierarchy
« on: January 22, 2014, 05:27:05 AM »Each level results in a new set of draw calls, but sure, you can do that.
Ah I see, all widgets depth depend on the UIPanel containing them not the hierarchy.
MenuWindow(UIPanel , depth : 0)
|
|
-----> CharacterAvatar(UIPanel, depth : 1)
|
|
-----> Widget1(UIWidget , depth : 1)
|
|
-----> FacePanel(UIPanel , depth : 2)
|
|
-----> Widget2(UIWidget, depth : 3)
I tried this, Widget2 will be draw behind FacePanel even if the depth is higher and on the same hierarchy level.
It's clear now. Thank you very much

