|
We are trying to detect when the app becomes active again after being in background mode, we want to be able to fire a method when this occurs. It's such a simple idea there is even a MonoBehavour method OnApplicationPause which can be used as the app enters background mode, but non for OnApplicationResume. Any ideas, Cheers.
(comments are locked)
|
|
Guys, it is my understanding that OnApplicationPause() gets called on going background, and again on going back to foreground. To know which case it is, you simply analize the argument passed to the function: I understand the same. Docs - http://docs.unity3d.com/Documentation/ScriptReference/MonoBehaviour.OnApplicationPause.html
Aug 09 '12 at 04:12 PM
DannyB
possibly a gotchya here is that this must, of course, be on a dontdestroyonload object .. something that is persistent throughout your game. maybe thats what caught up the OP.
5 hours ago
Fattie
(comments are locked)
|
