[Solved] Saving int in Unity using playerprefs


You save like this

PlayerPrefs.SetInt("Health", 100);
PlayerPrefs.SetInt("Mana", 10);
PlayerPrefs.Save();

If you want to update the values, just do the same.
To get a int from playerprefs, just do

PlayerPrefs.GetInt("Health")

3

solved Saving int in Unity using playerprefs