r/UnityHelp • u/Patient_River_229 • Sep 29 '26
PROGRAMMING Question about Pausing
I have two different things in my game that are supposed to pause the game/set the timescale to zero. At some point somehow one of the two stopped pausing the game but the other still works. They both say the exact same thing, simply setting time.timescale=0. For the record the one that doesn’t work is the when a button is pressed and the pause/stats screen comes up. Every other thing that is called in that function works expect the time scale. Can you not have two different functions that can pause the game or something? What could be the issue here?
Thanks!
View all comments
Show parent comment
2
u/Patient_River_229 Sep 30 '26
Wow I can’t thank you enough. I had tried like 3 different YouTube tutorials all with different methods to no avail prior to getting back to this and this was the one that actually worked with my game. This was literally one of only 3 major remaining issues I need to handle before I’m done