Beispiel #1
0
        private void TestForHighScore()
        {
            if (beatHighScore)
            {
                return;
            }

            beatHighScore = HighScoreWrapper.TestScore((int)_score);
            if (beatHighScore)
            {
                ActivateNewHighScore();
            }
        }
Beispiel #2
0
        private void ShowUI(HenderStudios.Events.Message message)
        {
            //canvasGroup.blocksRaycasts = true;

            int score = FindObjectOfType <Score>().score;

            scoreText.text = $"{score,0:00000}";
            HighScoreWrapper.TestScore(score);
            highScoreText.text = $"BEST {HighScoreWrapper.HighScore,0:00000}";

            screenElement.Show(false);

            //StartCoroutine(FadeIn());
        }