Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: Rafe on August 05, 2012, 06:09:26 PM
-
Hi,
I noticed SetActive takes a gameobject. Can I just use empty gameobjects for setting branches of my GUI visibility? Is there any reason to to stick to toggling panels?
I think I assumed this would be a good idea because of the Panel Tool (which is awesome by the way, and I will still use it for the big chunks regardless).
Cheers,
- Rafe
-
Any game object works, and doesn't have to do anything with NGUI. It's SetActiveRecursively equivalent, except that it enables objects in a proper order -- parents before children. SetActiveRecursively enables children before parents, which is bizarre.