#help
1 messages · Page 1 of 1 (latest)
highscore.text, PlayerPrefs.GetString... are strings, for instance it might be "69". You want to compare their integer values presumably, so you have to convert. int.Parse(highscore.text) for instance
"convert. " is part of my sentence, not code lmao
oh
now do the same parsing on the right hand side too
also you don't want the ; at the end of the if since you are providing a block
no, int.Parse(PlayerPrefs.GetString(...))
don't put int.Parse inside the GetString method argument
show code now then
well, do you ever call highscoreupdate?
highscoreupdate();
really if you don't understand method calls you need to follow the tutorials in the channel's pins
ok