- Home /
Question by
ram23 · May 17, 2016 at 01:45 PM ·
unity 5gameobjectobjectgamedeactivate
How to deactivate objects that are children all at once?
Hi,
I'm looking to have a bunch of light objects the move with other object that I have in place. I put the light objects as children of the other objects. So when the person moves the object the lights move with it. I want a button that when pressed deactivates all the lights. Can this be done?
Comment
Your answer
Follow this Question
Related Questions
get all scripts attached to gameobject 2 Answers
Creating 3d maze game 1 Answer
Pooling GameObjects with TextMesh ? 0 Answers
Making trees 1 Answer
One texture for all child gameobjects 0 Answers