|
Okay I have pretty much what I needed done so far, and Now I just need to know what the complete script is to activate or deactivate the children from a game object. If you know please tell me I have only 2 weeks left to get this project DONE!
(comments are locked)
|
|
There's a built-in function in the Unity API to do this for you: GameObject.SetActiveRecursively (note, this activates/deactivates the children and the object itself - i.e. not just the children)
(comments are locked)
|
