I've been putting off getting proper pausing working till now because it's always a bit of a pain.There's actually a great Kotaku article about all the weird ways pausing is achieved in various games. https://kotaku.com/video-game-devs-explain-how-pausing-works-and-sometimes-it-gets-weird-2000686339