The right way to pause a game in Unity

Game Dev Beginner
Game Dev Beginner
56 هزار بار بازدید - 2 سال پیش - Want to know how to
Want to know how to CODE in Unity? Go here: https://gamedevbeginner.com/how-to-co...

Learn how to pause a game in Unity, the right way, using time scale.

00:00 Intro
01:13 How to use time scale in Unity
02:15 How time scale works
03:38 What does & doesn't get paused
05:27 Prevent objects from being paused (using Unscaled Time)
06:36 How to pause audio
07:29 How to prevent input when pausing the game
08:37 Outro

You'll learn how to use time scale to pause and unpause your game, what is and isn't affected by a timescale pause and how to manage systems that don't work how you might expect when pausing the game in this way.

Read my full article here: https://gamedevbeginner.com/the-right...

How to create events in Unity: Events & Delegates in Unity

Outro music: New Year by Bad Snacks

Unity icons created by Freepik - https://www.flaticon.com/free-icons/u...

Chalkboard image - School rules photo created by kjpargeter: https://www.freepik.com/photos/school...
2 سال پیش در تاریخ 1401/05/07 منتشر شده است.
56,001 بـار بازدید شده
... بیشتر