I tried creating a pause function in this manner, since if I have a layout created as a model, I can have a small pause window on what's going on, effectively freeezing it, and since it's a layout object, I can have it linked to a "Paused" layout that can run a small menu.
The problem I have is that unlike when I was simply freezing the timescale and unfreezing it, creating a layout object seems to mess with the game's timing. For example, it messes up the timing on the shots from a turret, or messes up the animation on a sprite a little bit.
Is there any better way of making a pause function, or should I stick with this? I tried doing it this way, since I figured it would be better than trying to copy and paste a bunch of stuff onto each layout I'll need a pause function for.