I want to make my script to disable an object instead of destroy it, since destroying it seems to blow up console with errors.
Here is my script;
function Start(){
Destroy (GameObject.FindWithTag("Player"));
GetComponent.<AudioSource>().pitch = Time.timeScale = 0.3;
yield WaitForSeconds (3);
Application.LoadLevel(0)
}
Problem is that i dont have any idea where to put “SetActive=False” there?