Published
- 1 min read
disable script in unity
The solution for this is noted below
disable script in unity
Solution
GameObject.Find("Cube").GetComponent<MoveObject>().enabled = false;
Try other methods by searching on the site. That is if this doesn’t work