Ejemplo n.º 1
0
        private IEnumerator UpdateHighScoreGameplay()
        {
            bool hasHighScore = false;

            yield return(GAMEManager.Instance.IsHighScore(stateMachine.GetHighScoreMax(), stateMachine.playerScore, value => { hasHighScore = value; }));

            stateMachine.achievedHighScore = hasHighScore;
        }