- Home /
Question by
dvir9299 · Apr 05, 2017 at 12:42 PM ·
android3dpause menuexit
Pause menu
Hi ! I'm using the free version of unity . In my game I got pause menu, I'm wondering how some games - pause the game and open the pause menu when I exit the game . How can I do that in my game , is that possible in the free version ? Thanks a lot !
Comment
Best Answer
Answer by Malleck666 · Apr 05, 2017 at 02:51 PM
This will probably be what you are looking for.
https://docs.unity3d.com/ScriptReference/MonoBehaviour.OnApplicationFocus.html
Your answer
![](https://koobas.hobune.stream/wayback/20220612114646im_/https://answers.unity.com/themes/thub/images/avi.jpg)