Esempio n. 1
0
 void Start()
 {
     announcer = GameObject.FindGameObjectWithTag("MainCamera").GetComponent<Announcer>();
     doors = GameObject.FindGameObjectsWithTag("Door");
     enemiesLeftText = GameObject.Find("RemainingEnemies").GetComponent<Text>();
     if (isLevel0)
     {
         StartCoroutine(announcer.AnnounceMessage("Welcome to the lobby! \n Prepare for battle..."));
     }
 }