Caiuse
1
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.
Novack
2
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:
function OnApplicationPause (pause : boolean)
{
if(pause)
{
// we are in background
}
else
{
// we are in foreground again.
}
}