Part 5 - Add a scoring system
Estimated Time: 30 Minutes
Summary
In many games, scoring helps provide feedback and motivation to players. In this tutorial, you'll add a basic scoring system to your game that tracks how long the player survives and displays their score on the screen using Unity's UI Toolkit system.
Go to Tutorial
Click here to access the full tutorial on Unity Learn
Checklist
- Created a Canvas or UI Document.
- Added a Text element for the Score.
- Wrote a script to increase score over time (Survival Time).
- Updated the UI to show the current score.