Question: Using Unity 3D, Make a high score script that uses a text document stored in /assets/tutorial/example.txt In the example, you will use the high score
Using Unity 3D,
Make a high score script that uses a text document stored in "/assets/tutorial/example.txt"
In the example, you will use the high score from a script called "Scoring" and a variable that is a public static integer called "PlayerScore."
The score should save between scenes, and follow the following:
- Rank (#1, #2, #3, etc.)
- Name (Bob, Joe, etc.)
- Score (from the Scoring script the variable named PlayerScore)
- Rank from top the bottom
- Not have more than 10 scores. (scores below the 10th highest score discarded)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
