- Home /
Question by
DeathbyDomination · Aug 11, 2017 at 09:49 AM ·
functiondisablechild object
Disable OnTriggerStay when object has a childobject?
I'm making a game where you have options to build multiple types of object on a cube using OnTriggerStay method, I would like to disable this function (or the entire script need be)when the cube has a childobject and enable it when it is empty again. I don't know where to begin (new to coding). Any help would be appreciated, Thank you.
Comment