- Home /
Android back button always quits app.
Hello!
When I click back button on android device, it always quits my app.
I use (Input.GetKeyDown(KeyCode.Escape))
to pause my game, but it quits anyway.
Thanks!
Comment
Answer by RyanZimmerman87 · Jul 27, 2013 at 10:42 PM
Hmm well in my game you don't need to use any code to pause the game unless you want to do it while playing. Pressing the back button on my android device pauses the game automatically so maybe just remove that code you posted above and try to see if it works automatically.
Your answer
Follow this Question
Related Questions
Distribute terrain in zones 3 Answers
Android Development; How to use SDK manager! 1 Answer
Anisprite animation from OnTriggerEnter 0 Answers