Game over high score script
Can someone help me write a high score script, which I can implement into my game with just using UI (not GUI!) I would like to only display a high score and a current score. Basically within my player script I have a few lines of code that counts up to 1 for each object that my character picks up I would like this to transfer to my high score script using UI text only. I would also like to implement player prefs in to my game so it can store my high score. So in a nut shell I would like my player script with my score text to be link up to a high score script (made by anybody that can help me make this script) which then displays the high score and the current score in a UI text (not GUI) plus with a player prefs to store the highest score the player. If anybody could help me this I would be most grateful. By the way I'm using c# script. Thank you