unity-fruit-ninja-tutorial
unity-fruit-ninja-tutorial copied to clipboard
Add-Ons
While reviewing the Unity game and inspecting the GameManager Script, I observed that the code attempts to store the highest score.
However, this score is neither accessible nor displayed to the player.
To address this, I utilized a text canvas, similar to the one used for displaying the current player score.
I implemented two functions:
- saveData to store the highest score and
- loadData to retrieve the highest score when the game starts.