Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: Saxi on August 06, 2014, 02:27:44 AM

Title: 4 widgets sharing depth of 1
Post by: Saxi on August 06, 2014, 02:27:44 AM
I have four sprites in the scene, there is empty game object with nGUI sprite and nGUI Label as separate game objects.  I get a message on the sprite that 4 widgets are sharing the depth of 1.  Same with Labels but complaining about depth 2.

These 4 sprites are prefabs, they are not overlapping so I would expect them to all be instantiated with the same depth.  Should I be changing the depth of each sub object when I instantiate the prefab, even though they are not sitting on top of each other? 
Title: Re: 4 widgets sharing depth of 1
Post by: Nicki on August 06, 2014, 07:51:30 AM
Not it doesn't matter; it's just a warning, in case you get unexpected results.
Title: Re: 4 widgets sharing depth of 1
Post by: ArenMook on August 07, 2014, 01:18:14 AM
Panel depth sharing is a warning. Widget depth sharing is just an info message.