- Home /
Question by
ChristopherCreates · Apr 27, 2016 at 01:47 PM ·
c#pauseevents
How to subscribe to Application Pause event from a non-MonoBehaviour script?
I have a non-MonoBehaviour script and I need to have it fire a method when the application gets paused or un-paused. How can I get OnApplicationPause functionality outside of a MonoBehaviour?
Thanks!
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612075721im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Multiple Cars not working 1 Answer
Distribute terrain in zones 3 Answers
disable touch when game is paused(Time.timeScale = 0) 1 Answer
Using reflection to Invoke a UnityEvent 1 Answer
How to pause a Coroutine? 5 Answers