// Use this for initialization void Start() { alert = FindObjectOfType <AlertMovement>(); waitForButtonPress = false; audio = GetComponent <AudioSource>(); doorOpen = false; }
// Use this for initialization void Start() { theTextBox = FindObjectOfType <TextBoxManager>(); alert = FindObjectOfType <AlertMovement>(); TimeWindow = FindObjectOfType <FadeIn>(); }