Android: Application.Quit doesn't fully quit game?

Hey guys,

Well, I’m currently working on an Android game, but I can’t seem to find a proper way to fully shut down a game by means of an on-screen button… Like, an Exit Button.

When I attached an Application.Quit() to it, it looks like it quit from the game, but when I check the background running apps, its still going on… When I tap on that background app, it opens up a “new” instance of the entire game.

Can someone tell me what to do?

Thanks!

Don’t worry, it’s working as expected.

The fact that your game does restart when you click it means that it actually did quit. Android doesn’t necessarily delete the app from memory as this causes a higher load on the device than leaving it disabled. It eventually will purge it from memory.

The advantage is that it will restart your app even faster that way.

See here