So on the project I'm working on, I put a "boss spawn" trigger. After 10 enemy kills, a boss appears. What I want to do is pause the game for, say 2 secs -- without any menu popping up or anything (just to let player know that a boss appeared) and resume the game action after 2 secs. I've searched the forums, but most discussion about pause is having menu and user input on it. I just want to make it simple -- Boss appear, pause it for 2 secs, then resume action.
Please see my code. When the boss spawns, it pauses game indefinitely and it doesn't resume back to regular time scale. Thanks for the help in advance.