Highscore

Hello, I want to make highscore GUI, for 1 player only like in Subway Surf, i think i know how to do it, but dont know how to save the score in the game, so when the game is closed and opened to have the same highscore not 0.

Answered this kind of question yesterday.

PlayerPrefs is a simple way to store data, although it’s originally meant for Preferences, not game state or save games. However you can use it as you wish.