Answers for "how to disable code with other code unity"

2

unity deactive code from code

public MonoBehaviour script;

void Start()
{
script.enabled = false;
}
Posted by: Guest on April-10-2020
1

disable script in unity

GameObject.Find("Cube").GetComponent<MoveObject>().enabled = false;
Posted by: Guest on April-21-2021

Code answers related to "how to disable code with other code unity"

Browse Popular Code Answers by Language