Closed outfrost closed 4 years ago
This was already fixed by adding the following lines to Game.cs
// Listen for Escape key ('Back' on Android) to quit the game
inputDispatcher.AddKeyDownHandler(KeyCode.Escape,
keyCode => Application.Quit());
https://github.com/outfrost/deckswipe/blob/master/DeckSwipe/Assets/DeckSwipe/Game.cs#L33
Sort of. It's still open under "To Be Revisited" in the project, as a note to myself that maybe this should interoperate a bit better with Android, e.g. not terminate the app on Back, but background it instead. See also #26.
Make the game exit after one or more presses of the Back button.