Hello,
How would I disable a game object through code? Attached is a image of the gameObject I would like to disable.
Right now Im enabling / disabling the code on that gameobject because Im not sure how to enable / disable the gameobject itself?
function ThreeWay()
{
//gotta be a better way to acces the gameObject instead of the script???
threeWayShooting.shootingThese = true;
}
