GameObject.Find("ObjectName").GetComponent<scriptName>().enabled=true/false;