I'm working on a gamejam entry and have a timer in my game. It counts seconds and milliseconds, timer starts when the layout begins and I want the timer to pause at the end of my level(aka when the player crashes the plane). I want this time to be kept at the end of the level, so the player can clearly see what his time was for the run before starting the next attempt. Can anyone suggest something that would make this happen? I'm having trouble adding this, and I feel its vital to my game. Ultimately I'd want a "high score" feature, but mostly for now, I just want my timer to stop when the player crashes and retain its value until the next restart.
I've attached a screenshot that shows you how my timer works.
Appreciate any help. Thanks.