Exemple #1
0
 public void doAction()
 {
     if (SecondRoomCheck.IsKeyFound())
     {
         animator.SetTrigger("OpenDoor");
     }
 }
Exemple #2
0
 public void doAction()
 {
     if (SecondRoomCheck.IsBatteryFound())
     {
         anim.SetTrigger("RevealSafe");
         Pannel.SetActive(true);
         StartCoroutine(showClue());
     }
 }
Exemple #3
0
 public void doAction()
 {
     Key.SetActive(false);
     SecondRoomCheck.foundKey();
 }
Exemple #4
0
 public void doAction()
 {
     battaries.gameObject.SetActive(false);
     SecondRoomCheck.foundBattery();
 }