I am really sorry.
This commit is contained in:
parent
7a964f17d9
commit
bae7aa1239
@ -23,7 +23,7 @@ public class UiController : MonoBehaviour
|
|||||||
}
|
}
|
||||||
void SaveGame()
|
void SaveGame()
|
||||||
{
|
{
|
||||||
PlayerPrefs.SetInt(PlayerController.highScore);
|
PlayerPrefs.SetInt("HighestScore", this.highScore);
|
||||||
PlayerPrefs.Save();
|
PlayerPrefs.Save();
|
||||||
Debug.Log("Game data saved!");
|
Debug.Log("Game data saved!");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user