enable script unity

Code Example - enable script unity

                
                        YourGameObject.GetComponent<YourScript>().enabled = true;