Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

how to make a pause feautre in unity

if(Pause){
	Time.timeScale = 0;
}
else{
	Time.timeScale = 1;
}
 
PREVIOUS NEXT
Tagged: #pause #feautre #unity
ADD COMMENT
Topic
Name
5+3 =