How to EASILY make a TIMER in Unity
Timers are often used in video games to give players a sense of urgency or display the current time on a special ability. In this session, we'll walk through how you can create a timer in Unity with c# for your own game that has a single click option to count up or count down. We'll also add a flash effect to the timer to its display once its time is up.
► Socials
Twitter: https://twitter.com/the_real_aia
Discord: https://discord.gg/EqxuvWg
My games: https://aiadev.itch.io/
► Get the script: https://unicornone.gumroad.com/l/timerscript
► Unity UI Tutorial: https://www.youtube.com/watch?v=IuuKUaZQiSU
► Microsoft doc on string.Format: https://docs.microsoft.com/en-us/dotnet/api/system.string.format?view=net-5.0
► Download Unity 3D: https://on.unity.com/3cbxhXY
For more educational content on video game development, unity tutorials, and c# programming don't forget to subscribe!
Chapters:
0:00 Introduction
0:30 Creating the unity timer script
1:07 Basic unity countdown functionality
8:45 Flashing the display once time has expired
10:53 Adding an editor checkbox to switch between unity count down and count up
12:31 Outro
····················································································
♪ Raspberry Music - A Lofi
#unity3d #unitytutorial #gamedev
Other Videos By AIA
2021-10-26 | How to fix pixelated images caused by scaling in Unity |
2021-09-27 | How to Play Unity Sound Effects |
2021-09-21 | Make a Unity Glow Effect in 15 seconds |
2021-09-20 | Make a Unity Text Mesh Pro Custom Font (in 15 seconds) |
2021-09-19 | How To Make A Unity Mini Golf Game (part 1) |
2021-09-15 | Make a Unity 2D Camera Follow Player in 15 seconds |
2021-09-11 | Making a Unity Idle Game [EP 1] |
2021-09-02 | Simple Unity Character Customization Tutorial |
2021-08-30 | Unity Git Tutorial (Backup & version control) |
2021-08-26 | Unity Drag and Drop Script | (Unity 3D tutorial) |
2021-08-24 | How to EASILY make a TIMER in Unity |
2021-08-13 | Unity Button Tutorial |
2021-08-10 | Unity UI Tutorial | An introduction |
2021-08-06 | How to create an FPS display | Unity Tutorial |