|
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) Thanks.
(comments are locked)
|
|
You can just have a local reference to that child GameObject in your Collide script and then call gameObject.active = false like this:
(comments are locked)
|
