- Home /
Question by
networkZombie · Apr 09, 2011 at 02:27 AM ·
gameobjectgamedisableenable
enabling / disabling child objects
How do I enable / disable child gameobjects? I don't want to turn the mesh renderer off. Neither do I want to destroy the gameobjects. I just want to disable them.
Comment
Answer by DaveA · Apr 09, 2011 at 02:42 AM
Set the .active member to false for each one. Code in the script reference
Your answer
Follow this Question
Related Questions
Bool activate/de-activate on timer C# 1 Answer
Calling setActive(false) on a disabled object? 3 Answers
How to make an open and close box?,How to make open and close a box? 0 Answers
If you disable a gameobject, does an InvokeRepeating loop end or pause? 3 Answers
gameobject.setActive(true) || (false) hiccups game for 3 to 5 seconds 4 Answers