Unity Beginner Tutorial - Part 5: UI & Scoring

Опубликовано: 03 Октябрь 2024
на канале: tutmo
563
27

#unity #unityTutorial #learnUnity #UnityCompleteGame

Download Unity: https://unity.com/download

If you want to learn how to make a game in Unity, this tutorial should help you create a basic scoring system using Unity's built-in UI tools. In the last video, we added code that triggers when our player hits an obstacle or flies through a point collider. Now it’s time to expand our game and count each pipe the player dodges to track points on a UI scoreboard.

📺 All Tutorial Parts
Part 0 | Unity Setup:    • Unity Beginner Tutorial - Part 0: Ins...  
Part 1 | 3D Objects:    • Unity Beginner Tutorial - Part 1: 3D ...  
Part 2 | Coding in C#:    • Unity Beginner Tutorial - Part 2: Cod...  
Part 2.5 | Movement:    • Unity Beginner Tutorial - Part 2.5: M...  
Part 3 | Spawning:    • Unity Beginner Tutorial - Part 3: Spa...  
Part 4 | Collisions:    • Unity Beginner Tutorial - Part 4: Col...  
Part 5 | Scoring: Current Video!
Part 6 | Game Over:    • Unity Beginner Tutorial - Part 6: Gam...  

📁 Project Files: https://bit.ly/3GTb5wB

🎮 Games We Made: https://tutmo.itch.io/

❤️ Subscribe: https://bit.ly/2XOcUXm

😎 Join the Discussion!
● Discord:   / discord  
● Twitter:   / tutmoyt  
● Instagram:   / tutmobuffet  

Video Content
0:00​ - Intro
0:16​ - Create a UI Canvas
0:36​ - UI Event System
0:50​ - UI Canvas Scaler
1:22​ - UI Text
1:45​ - Text Font Size
2:23​ - Rect Tool
2:50​ - Center Align Text
3:20​ - Change Text Color
3:40​ - Anchor Presets
5:22​ - Using UI Variables in C#
7:20​ - Track Current Score
8:18​ - Convert Numbers to Text Strings
8:52​ - Increment Score by 1
9:07​ - Make a Method Public
9:30​ - Call on a Public Method
11:03​ - Method Triggering Too Often
12:08​ - Final Result
12:27​ - Summary of Next Video