Calling/Forcing Pause on interrupts

Hi Everyone.

I’m currently working in an android proyect, and my problem is this, when I minimize the application (with home button or lock), the application still running in background (the media volume still present when I press volume keys in my home screen) and this reduce the memory of the phone and crash after a while or when I open more applications.

I set my time in 0 (UnityEngine.Time.timeScale = 0.0f), to stop the game (the animations and game time), but the OnApplicationPause method is never called, someone have an idea why?? or how can I force to call this method???

I’ll really apreciate your help.

Thanks for your time, cheers from Mexico.

Maybe your are looking for :
Application.runInBackground
PlayerSettings.runInBackground
MonoBehaviour.OnApplicationFocus
I hope it helps