How to Add a Points System in Unity

Опубликовано: 10 Июнь 2026
на канале: DevSpark
106
8

In this video, we add a points system to our 2D platformer in Unity.

Building on our collectible system, we update the game so the player earns points every time they collect a fruit. We also create a simple UI that displays the score and updates in real time.

This is part of a full beginner series where we build a complete 2D platformer step by step.

In this video we cover:
• Creating a score system in Unity
• Updating UI using TextMeshPro
• Increasing score when collecting items
• Connecting collectibles to a points manager
• Using prefabs to assign different point values

By the end of this video, your game will reward the player with points and display the score on screen.

Full Course:    • How To Create a 2D Platformer in Unity For...