-
How would i make it so when pause the game and quit instead of reseting the game it takes me back to a scene |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 12 replies
-
Replace
I am only using |
Beta Was this translation helpful? Give feedback.
-
It only resets the game because you're testing, in the actual game it would just close. You might want to include a replacement somewhere around the title screen or main menu if you add one. |
Beta Was this translation helpful? Give feedback.
You might need to include a line like this in that moment:
The pause menu to my knowledge directly checks that boolean. Restarting the level also sets it to
false
generally, so that variable might be causing the problem because it still thinks that it should be paused, regardless of the actual state of the pause menu.