You've successfully subscribed to Hacking with Unity - Learn how to create your own games
Great! Next, complete checkout for full access to Hacking with Unity - Learn how to create your own games
Welcome back! You've successfully signed in.
Success! Your account is fully activated, you now have access to all content.
Success! Your billing info is updated.
Billing info update failed.

How to pause the game in Unity

Ben

The proper way of pausing the game in Unity

Time.timeScale = 0;

If you want to restore the game:

Time.timeScale = 1;

Ben