i want to activate one script from another in the same game object.
The script to activate / deactivate is called “Naveg”
Somebody knows some script that can help me?
i want to activate one script from another in the same game object.
The script to activate / deactivate is called “Naveg”
Somebody knows some script that can help me?
The following code will disable the script called Naveg.
GetComponent (Naveg).enabled = false;
thanks a lot!!!