Beispiel #1
0
        private void saveRanking()
        {
            var name   = PlayerPrefs.GetString(PlayerPrefsKey.PlayerName);
            var score  = highScoreManager.Value;
            var ranker = new Ranker(name, score);

            rankingManager.Save(highScoreManager.RankingType, ranker);
        }