예제 #1
0
 void Start()
 {
     GameInstructions.LoadSaves();
     bestScoreHeat   = GameInstructions.HighScoresValues.bestScoreHeat;
     bestScoreNormal = GameInstructions.HighScoresValues.bestScoreNormal;
     bestTimeHeat    = GameInstructions.HighScoresValues.bestTime;
     bestTimeNormal  = GameInstructions.HighScoresValues.bestTimeNormal;
     bestHeat        = GameInstructions.HighScoresValues.topHeat;
     bestLevel       = GameInstructions.HighScoresValues.topLevel;
 }
예제 #2
0
    public void SetHighScores()
    {
        if (PlayerPrefs.HasKey(Literals.Saves.First_SAVE))
        {
            GameInstructions.LoadSaves();

            bestTime.text        = GameInstructions.HighScoresValues.bestTime;
            bestTimeNormal.text  = GameInstructions.HighScoresValues.bestTimeNormal;
            bestScoreNormal.text = GameInstructions.HighScoresValues.bestScoreNormal.ToString();
            bestScoreHeat.text   = GameInstructions.HighScoresValues.bestScoreHeat.ToString();
            LKS.text             = GameInstructions.HighScoresValues.longestKS.ToString();
            LKSNormal.text       = GameInstructions.HighScoresValues.longestKSNormal.ToString();
            HZK.text             = GameInstructions.HighScoresValues.HZK.ToString();
            HZKNormal.text       = GameInstructions.HighScoresValues.HZKNormal.ToString();
            topLevel.text        = GameInstructions.HighScoresValues.topLevel.ToString();
            topHeat.text         = GameInstructions.HighScoresValues.topHeat.ToString();
        }
    }