how do you enable a script from a script in unity code example Example: enable script unity YourGameObject.GetComponent<YourScript>().enabled = true;