コード例 #1
0
        //----------------------------------------------------------------------------------------------------

        void ResetUI()
        {
            mProgressBar.fillAmount = 0.0f;
            mCurrentScoreText.text  = HJPlayerScoreAndLevelManager.Instance().CurrentScore.ToString();
        }
コード例 #2
0
 public static HJPlayerScoreAndLevelManager Instance()
 {
     return(mInstance = mInstance == null ? new HJPlayerScoreAndLevelManager() : mInstance);
 }
コード例 #3
0
        //----------------------------------------------------------------------------------------------------

        private void Start()
        {
            mBestScoreText.text = string.Format(HJGameConstants.kBestScoreText, HJPlayerScoreAndLevelManager.Instance().BestScore);
            SetProgressBarDetails();
        }