Пример #1
0
 // Use this for initialization
 void Start()
 {
     alert = FindObjectOfType <AlertMovement>();
     waitForButtonPress = false;
     audio    = GetComponent <AudioSource>();
     doorOpen = false;
 }
Пример #2
0
 // Use this for initialization
 void Start()
 {
     theTextBox = FindObjectOfType <TextBoxManager>();
     alert      = FindObjectOfType <AlertMovement>();
     TimeWindow = FindObjectOfType <FadeIn>();
 }