Exemplo n.º 1
0
 void ReceiveAlert(AlertSituation situation)
 {
     for (int i = 0; i < situation.answers.Length; ++i)
     {
         queue.AddCannister(situation.answers[i]);
     }
 }
Exemplo n.º 2
0
 public void DisplayMessage(AlertSituation alert)
 {
     switcher = Instantiate(shipInside, this.transform);
     switcher.SetBG(alert.background);
     switcher.SetEmotion(alert.crewEmotrion);
     text.text = alert.text;
     texturePlane.SetActive(true);
     StartCoroutine(WaitAndHide(5f));
 }