Quantcast
Channel: Answers for "Save and display a highscore"
Browsing latest articles
Browse All 4 View Live

Answer by Suddoha

You can do the following as soon as your game/level/round is finished. It'll save the highscore to the PlayerPrefs: // loads the value for "highscore", returns the default 0 if it doesn't exist int...

View Article



Answer by Infernospeed

You might want to look into [PlayerPrefs][1] Here is an example, int Highscore = 0; void Start() { //loading highscore Highscore = PlayerPrefs.GetInt("MyHighscore"); InvokeRepeating("CreateObstacle",...

View Article
Browsing latest articles
Browse All 4 View Live




Latest Images