Answers for "unity pause scene"

C#
3

how to make a pause feautre in unity

if(Pause){
	Time.timeScale = 0;
}
else{
	Time.timeScale = 1;
}
Posted by: Guest on May-29-2020
0

unity pause scene

//Pausing Scene
Time.timeScale = 0f;

//Unpausing Scene
Time.timeScale = 1f;
Posted by: Guest on February-08-2021

C# Answers by Framework

Browse Popular Code Answers by Language