Is there a way to disable a gameobject, it’s scripts and children all in one line? I dont want to have to do "Player.GetComponent(comp).enabled.
for every script.
thanks!
Is there a way to disable a gameobject, it’s scripts and children all in one line? I dont want to have to do "Player.GetComponent(comp).enabled.
for every script.
thanks!
active or SetActiveRecursively(true or false)