Example #1
0
    private void UpdateUI()
    {
        normalModePanel.ShowRoundInfo(txt_RoundCount);
        txt_TotalRound.text = normalModePanel.totalRound.ToString();
        txt_LevelCount.text = GameController.Instance.curStage.mBigLevelID + "-" + GameController.Instance.curStage.mLevelID.ToString();
        int carrotState = GameController.Instance.GetCarrotState();

        if (carrotState != 0)
        {
            img_Carrot.sprite = carrotSprites[carrotState - 1];
        }
    }
Example #2
0
 public void UpdateRoundText()
 {
     normalModePanel.ShowRoundInfo(txt_RoundCount);
 }
Example #3
0
 public void UpdateUI()
 {
     normalModePanel.ShowRoundInfo(txt_RoundCount);
     txt_TotalRound.text = normalModePanel.totalRound.ToString();
     txt_LevelCount.text = GameController.Instance.curStage.mBigLevelID + "-" + GameController.Instance.curStage.mLevelID.ToString();
 }