Hello!
I'm looking for a solution to pause the game when it looses focus - for example if someone plays in windowed mode, and click on another app, or if he presses alt+tab.
I already have a pause menu.
I tried to make a key combination - get key down alt, then get key down tab, but it doesn't work.
I also tried application pause, and application focus, but I think it doesn't work in desktop apps.
Does anyone has any idea?
Thank you very much!