- Home /
Question by
DNP · Aug 31, 2012 at 01:05 AM ·
javascriptdisablechildrenenable
Getting an objects Children
How can i get all of the children of an object and disable them all once a specific event happens?
Comment
Best Answer
Answer by hdgam3r · Aug 31, 2012 at 01:16 AM
Just use:
SetActiveRecursively with false as parameter, then you can simply enable your current object again.
Your answer
Follow this Question
Related Questions
Disable script from code 5 Answers
Disable all instances of a component 2 Answers
enable/disable child objects? 2 Answers
How to disable/enable SSAOEffect or other specific Components? 1 Answer