public void OpenReplies() { Chirpr.SetActive(false); replies.SetActive(true); Transition1.SetTrigger("Fade"); StartCoroutine(WaitAndShowSecondTweet()); }
public void ShowStats() { followers.text = GameManager.Instance.getTotalFollowers().ToString(); cult.text = GameManager.Instance.getTotalCult().ToString(); influence.text = GameManager.Instance.getTotalStans().ToString(); theory.text = GameManager.Instance.getTotalTheory().ToString(); mom.text = GameManager.Instance.getTotalMoms().ToString(); stats.SetActive(true); Chirpr.SetActive(false); }
IEnumerator WaitAndShowSecondTweet() { yield return(new WaitForSecondsRealtime(15f)); Transition2.SetTrigger("Fade"); if (GameManager.Instance.isSecond) { Chirpr.SetActive(true); replies.SetActive(false); GameManager.Instance.setNextDay(); } else { Chirpr.SetActive(true); replies.SetActive(false); GameManager.Instance.setChirperSecondTweet(); } }
//Goes to the home page of Chirper public void GoToChirper() { Chirpr.SetActive(true); mainPage.SetActive(false); }
public void ReturntoChirpr() { stats.SetActive(false); Chirpr.SetActive(true); }