// 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); } }
public StoryCoordinator() { _instance = this; }