Hi all.
The problem is I can’t find the way to determine next event: when I play on iPhone or Android device and press “Home” button I suspend the game and get to main menu. After that I open my game again and play session resumes automatically. In this case I would like to pause game and show to player my pause menu (most games work the same way). How can I achieve this in Unity?
Thanks.
Solution is to use event OnApplicationPause(bool pause) - it dispatches when user presses Home button, and I can show my pause menu after that
Very good. Thanks.