コード例 #1
0
    public IEnumerator ActivateResultsCanvas()
    {
        quarterText.text = "Quarter " + gameLoop.getQuarterNum().ToString() + " Completed!";
        resultsCanvas.SetActive(true);
        source.PlayOneShot(fanfare);
        yield return(new WaitForSeconds(2f));

        bossHappiness.text = "Boss Happiness: " + playerStats.getBossScore().ToString() + "/5";
        BossFeedback.text  = deliverFeedback.getBossFeedback();

        sponsorshipSatisfaction.text = "Sponsorship Satisfaction: " + playerStats.getSponsorScore().ToString() + "/5";
        sponsorFeedback.text         = deliverFeedback.getSponsorFeedback();

        publicInterest.text = "Public Interest: " + playerStats.getHypeScore().ToString() + "/5";
        crowdFeedback.text  = deliverFeedback.getCrowdFeedback();

        esportViewCount.text = "Esports View Count: " + playerStats.getEsportsScore().ToString() + "/5";
        esportFeedback.text  = deliverFeedback.getEsportsFeedback();

        casualInterest.text = "Casual Interest: " + playerStats.getFunScore().ToString() + "/5";
        casualFeedback.text = deliverFeedback.getCasualFeedback();

        statistics.SetActive(true);
        yield return(new WaitForSeconds(2.55f));

        buttonCanvas.SetActive(true);
    }
コード例 #2
0
 private void LoadFeedback()
 {
     bossFeedback.text    = feedback.getBossFeedback();
     sponsorFeedback.text = feedback.getSponsorFeedback();
     publicFeedback.text  = feedback.getCrowdFeedback();
     esportsFeedback.text = feedback.getEsportsFeedback();
     casualFeedback.text  = feedback.getCasualFeedback();
 }