Is there any way to handle interrupt through Unity.
interrupt like Charging, Lock, call, SMS
Now the problem is, while playing the game lets assume any of the interrupt occurred, unity pauses the game but we are getting delay of 6 seconds and that is too much because our game is Time base Game.
If you get a delay if an interrupt happens, then your code is wrong.
Then you likely do Time.time based stuff which is incorrect.
the right way to do it is an accumulator that sums up the passed time each update, its stored in Time.deltaTime and will only have a value if real time passed (and its scaled by the timeScale value)