//---------------------------------------------------------------------------------------------------- void ResetUI() { mProgressBar.fillAmount = 0.0f; mCurrentScoreText.text = HJPlayerScoreAndLevelManager.Instance().CurrentScore.ToString(); }
public static HJPlayerScoreAndLevelManager Instance() { return(mInstance = mInstance == null ? new HJPlayerScoreAndLevelManager() : mInstance); }
//---------------------------------------------------------------------------------------------------- private void Start() { mBestScoreText.text = string.Format(HJGameConstants.kBestScoreText, HJPlayerScoreAndLevelManager.Instance().BestScore); SetProgressBarDetails(); }