Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: Drexster on May 14, 2012, 03:46:46 PM
-
When trying to use If Disabled on Play's: EnableThenPlay, onlythe target object is enabling and not it's children. Is this the desired result?
My target object has multiple animations for it's children object, and obviously I'd like all the object to appear when enabling the target so that I can see the animations.
-
I don't see why that would be the case.
Line 167 of ActiveAnimation: NGUITools.SetActive(anim.gameObject, true);
SetActive is recursive.
-
is there anything that would cause objects to not activate recursively?
-
Nothing. As long as they're in the hierarchy, they will be activated.
-
looks like i was overriding it in script by using gameObject.active, instead of SetActiveRecursively(true)... my bad.