Answers for "unity how to stop the game"

1

unity how to stop the game

The most convenient method for pausing the game in Unity is by setting the game’s time scale to zero (Time.timeScale = 0), which effectively pauses all time based operations including movement, physics and animation. Setting the time scale to one again will return the game to its normal speed.
Posted by: Guest on June-30-2021

Browse Popular Code Answers by Language