unity-fruit-ninja-tutorial icon indicating copy to clipboard operation
unity-fruit-ninja-tutorial copied to clipboard

Add-Ons

Open Harshmars opened this issue 2 years ago • 0 comments

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.

Harshmars avatar Nov 29 '23 12:11 Harshmars