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