Hi guys im tryting to add a highscore to the template auto-runner so i added a new textbox in the middle called BestDistanceDisplay.
When the player died i set to the bestdistancedisplay textbox the text of totaldistance, but then all the global variables goes to default and the layout is restarted, same thing happen with the text inside bestdistancedisplay.
So, mi question is... how can i maintain the value in bestdistancedisplay textbox for every game?