- Home /
Question by
Ryan 3 · Feb 04, 2011 at 11:12 PM ·
gameobjecthide
Hide a gameobject
Somebody Please. I want to hide my player while a cut scene is playing. How do I do that?
Comment
Answer by DaveA · Feb 04, 2011 at 11:57 PM
You could set 'active' false, which would disable everything about it. Or you could just disable the Renderer on it.
Well, It has a character controller on it and if I set active to false then the gameObject is still visible I just cant move it. Also there are multiple children so if i turn off the mesh renderer that obj turns off but the children stay visible.
The turn off all the renderers even on children. You can get at them quickly with GetComponentsInChildren()
Your answer