skip to Main Content

Pause the Game

Sometimes you need to pause the game (for instance to show an in-game menu). You can pause the game using the paused property. Example:

WMSK.instance.paused = true;

Also, you can control the overall game speed at which time flows using the TImeSpeed property (which defaults to 1):

WMSK.instance.timeSpeed = 1.25f;
Back To Top