disable gameobject script unity through script code example Example: unity how to set gameobjkect enabled //This is for unity GameObject.SetActive(true);