Hey. I know I'm really really late to this but if anyone see's this comment and has an answer thank you. The highscore works perfectly in the editor but when I go to build it it doesn't show up with the text or anything. If anyone has an answer could please reply to this comment.
Can we import our high score to a different screen ? like we see highscore in the game than we open a different scene like a scoreboard to import there?
Yeah sure, the most basic approach would be to have all the needed scripts in the hierarchy of your other scene as well. Since you save it to the file anyway, you could just simply read the file again on your other scene. You could also keep the data in memory by using DontDestroyOnLoad method for the script which holds your high score values and use the same objects over several scenes, but that is a bit more complex, so you may want to try the first approach.
This is a very informative video, and also your channel overall seems like a wealth of knowledge. Thanks for sharing 😎
perfect channel and you are awesome ! thank you for video
Haha, thank you :) Nice to hear
Thanks a lot for this video this really help me a lot. I have a favor can you do a video for ranking list like leader board scores?
I have another tutorial called "Creating and Saving a High Score List", that might be what you are looking for
Hey. I know I'm really really late to this but if anyone see's this comment and has an answer thank you.
The highscore works perfectly in the editor but when I go to build it it doesn't show up with the text or anything. If anyone has an answer could please reply to this comment.
Can we import our high score to a different screen ? like we see highscore in the game than we open a different scene like a scoreboard to import there?
Yeah sure, the most basic approach would be to have all the needed scripts in the hierarchy of your other scene as well. Since you save it to the file anyway, you could just simply read the file again on your other scene.
You could also keep the data in memory by using DontDestroyOnLoad method for the script which holds your high score values and use the same objects over several scenes, but that is a bit more complex, so you may want to try the first approach.