Question : how to pause your game unity
Answered by : datmad
using UnityEngine;
void Pause()
{ Time.timeScale = 0;
}
void Unpause()
{ Time.timeScale = 1;
}
Source : | Last Update : Wed, 30 Dec 20
Question : how to make a pause feautre in unity
Answered by : yellowed-yak-50xyze8xyzve
if(Pause){ Time.timeScale = 0;
}
else{ Time.timeScale = 1;
}
Source : | Last Update : Fri, 05 Jun 20
Question : how to pause physics in unity c#
Answered by : splendid-sloth-lsb3sp91z5yu
Physics.autoSimulation = false;
Source : | Last Update : Mon, 20 Apr 20
Question : Unity Pause Game c#
Answered by : seab-sokchamroeun
void PauseGame () { Time.timeScale = 0f; AudioListener.pause = true; }
void ResumeGame () { Time.timeScale = 1; AudioListener.pause = false; }Copy
Source : https://gamedevbeginner.com/the-right-way-to-pause-the-game-in-unity/ | Last Update : Wed, 13 Oct 21