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];
        }
    }
Exemple #2
0
 public void UpdateRoundText()
 {
     normalModePanel.ShowRoundInfo(txt_RoundCount);
 }
 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();
 }