In this step by step guide, you'll learn how to make a Countdown Timer in Unity and how to display time in your game in minutes and seconds.
00:00 Intro
00:25 Basic timer in Unity
01:49 Adding an if condition
02:43 How to make a repeating timer
03:35 How to display time in minutes and seconds
09:33 Time elapsed vs time remaining
11:43 Adding milliseconds to the timer
A countdown timer is an incredibly common mechanism in game design.
However, while the method of creating a timer in Unity and counting it down accurately is quite straightforward; Actually displaying a time value in minutes and seconds can be surprisingly tricky.
In this video you'll learn how to make a basic timer and how to show the time value in minutes and seconds.
For more information, plus copy and paste examples, read my full article here: gamedevbeginner.com/how-to-ma...
Thumbnail image: unsplash.com/photos/1Ka6azoJs...
Негізгі бет How to make a Countdown Timer in Unity (in minutes + seconds)
Пікірлер: 86