Hi,
This one’s got me scratching my head.
I am saving my users high score with the following code :-
if (thisScore > PlayerPrefs.GetInt(ScoreVariable))
{
PlayerPrefs.SetInt(ScoreVariable, thisScore);
}
However, as far as I know this value should reset between plays in the Unity editor, However Unity seems to store and recall them every runtime.
Having looked around for support on this, it seems that it is sth. to do with the way the data is written to and then stored in the registry (am on PC).
Any wisdom here would be greatly appreciated.
Thanks y’all.