- Home /
Enable and Disable scripts
Hello everybory... i have an OnGUI button.. and i have two script... on in the camera and one on the player.. i what i want is to disable the camera script on the click of the button.. is there a way to do it? can give me some script.. any tutorial .. anything.,..thanks
Comment
Answer by Suyuanhan · Jun 21, 2011 at 05:41 AM
Here is My topic about component,it may help you~ http://answers.unity3d.com/questions/127845/several-questions-about-component.html http://answers.unity3d.com/questions/130780/is-there-a-good-method-to-stop-the-ongui-function.html