how to freeze a scen without stopping time unity code example
Example: how to make a pause feautre in unity
if(Pause){
Time.timeScale = 0;
}
else{
Time.timeScale = 1;
}
if(Pause){
Time.timeScale = 0;
}
else{
Time.timeScale = 1;
}