I am trying to get a pause menu working by calling ConsoleCommand("Pause"); from a MobileMenuScene. It works, except clicking anywhere on the screen that isn't blocked by my MobileMenuScene unpauses the game. Then everything gets out of sync since pause toggles.
Also, I've noticed that when running on the actual iOS device, blue "PAUSED" text appears and I have no idea where that is coming from or how to get rid of it.
Anyone know how to stop the game from unpausing whenever you click on the screen anywhere, and/or how to change or remove the blue "PAUSED" text?
Thanks for the reply. I now see how to get rid of the blue text. But I still am unsure how to change the behavior of the game unpausing anytime the user clicks/taps anywhere on the screen. If this is handled in GameViewportClient as well, I am having trouble figuring it out.