In my main scene, I have a pause screen being called via storyboard.showOverlay(“pauseScreen”, {effect = “fade” , isModal = true} )
When this pause screen is called, I use timer.pause(myTimer). It pauses just fine, but once the pause screen overlay is closed, the timer stays paused. How do I use timer.resume in this case?
In other words, how do you unpause the timer if using storyboard.showOverlay?
fyi here’s my timer function:
gameTimer = timer.performWithDelay(1000, updateTime, 0)