Help!
I cannot figure out what I am doing wrong an explanation would be very helpful!
public GameObject spawning1;
void DisableSpawner ()
{
spawning1 = GameObject.Find ("spawner1");
spawning1.GetComponent<Spawner>.enabled = false;
}
Thank you for your help!