|
Hello, 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?
(comments are locked)
|
|
You could just check the name of the current object in the loop:
(comments are locked)
|
