Answers for "how to deactivate script in unity"

C#
1

disable script in unity

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

how to deactivate objects through scripts in unity

public GameObject Name = GameObject.Find("Name");

Name.enabled = true;
Posted by: Guest on April-30-2020

Code answers related to "how to deactivate script in unity"

C# Answers by Framework

Browse Popular Code Answers by Language