Posted June 20, 2025 by Devon Flynn
Author: Devon Flynn
Posted on 6/20/2025
This week when we were implementing our new pause menu, we noticed a major issue with the resume button. The first time that the menu was opened in the level, pressing resume would work as intended. However, if you opened it again then pressed resume, it would call the bound function twice and set the isPaused bool in the TogglePauseMenu function twice. Which would effectively lock you in the pause menu until you exited with the escape key.
After Ben moved the Resume button binding, it began functioning as intended. The player is now able to seamlessly pause and resume the game at will. This will make UI transitioning much easier for player experience.