Пример #1
0
 public void OpenReplies()
 {
     Chirpr.SetActive(false);
     replies.SetActive(true);
     Transition1.SetTrigger("Fade");
     StartCoroutine(WaitAndShowSecondTweet());
 }
Пример #2
0
    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);
    }
Пример #3
0
    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();
        }
    }
Пример #4
0
 //Goes to the home page of Chirper
 public void GoToChirper()
 {
     Chirpr.SetActive(true);
     mainPage.SetActive(false);
 }
Пример #5
0
 public void ReturntoChirpr()
 {
     stats.SetActive(false);
     Chirpr.SetActive(true);
 }