Unity3D game in iOS press home button

Hello,

  1. User press game icon (Start Game)
  2. User press home button.
  3. Game go to background

I want to know game status. (Pause, Background, Quit) What’s it called ?

Because I want to create time detection. I have 2 option. If user time cheat or time not same server, App should quit ?

I don’t understand what you’re asking but in Unity’s Player Settings there’s an option ‘Behaviour in Background’ which has options for Suspend and Quit (and Custom).

I want to know status app game when game go into background. (example : pause) I am not sure it’s Pause status.

I still don’t understand what you are asking.

But, there’s the OnApplicationFocus(bool) message (method) that’s sent to MonoBehaviours when the game is sent to the background and resumed on iOS. Perhaps that is helpful.