Exemplo n.º 1
0
 // Update is called once per frame
 void Update()
 {
     if (Input.GetButtonUp("Action"))
     {
         Player.SetActive(true);
         StoryCoordinator.RepairCharacter(Player.transform.Find("Character").gameObject);
         PressButtonText.SetActive(false);
         Destroy(gameObject);
     }
 }
Exemplo n.º 2
0
 public StoryCoordinator()
 {
     _instance = this;
 }