Answers for "how to disable script in unity with custom name"

2

unity deactive code from code

public MonoBehaviour script;

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

how to turn off scrips in unity

this.enabled = false;
Posted by: Guest on August-07-2020

Code answers related to "how to disable script in unity with custom name"

Browse Popular Code Answers by Language