예제 #1
0
        void OnEnable()
        {
            pointsText.text = PlayerStatistic.GetInstance().pointsScored.score.ToString();
            roundsText.text = PlayerStatistic.GetInstance().roundsPassed.score.ToString();

            DataSaver.GetInstance().TrySetHighScore(
                PlayerStatistic.GetInstance().pointsScored.score,
                PlayerStatistic.GetInstance().roundsPassed.score);
        }