Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: dwjkim on September 03, 2013, 03:57:02 AM
-
Same tables, but one is at the back so panel covers it, and the other is in front of the panel so the panel can be used as a background.
tables are also panels, and if one panel is active, no other panels are to be so draw calls and so.
But I want to use the particular panel in front of the table so the table comes in front of the panel. I changed the depth of the background sprite in the panel but it does not change a thing.
So, what is determining the table depth? They are both prefabs, and I will of course make them different later on, but it does not seem to have anything to do with prefab but the code that uses the prefab. If I change the link so that a to 1 and b to 2 become b to 1 and a to 2, the result is the same. So it is the code, not the prefab.
-
Maybe this will help.
http://www.tasharen.com/forum/index.php?topic=1858.0