I have a game object with meny children. And right now I use this script to turn off all the children.
But is it possible to turn off specific children (im using renderer to deactivate):
So if my children were names:
Child1 Child2 Child3
How would I turn off all children except Child2?
asked Dec 01 '10 at 11:09 PM
You could just check the name of the current object in the loop:
answered Dec 01 '10 at 11:44 PM