Hello. After a condition happens, how can I deactivate a child object of the object that the script is attached to? To help explain that better its set up like this (I want to make the "Shoot" Game object stop for a few seconds and then start again).
Player (Game Object) with the "Collide" script attached to it. --Shoot (Game Object)
asked Nov 30 '10 at 11:37 PM
You can just have a local reference to that child GameObject in your Collide script and then call gameObject.active = false
answered Dec 01 '10 at 03:45 AM