Exit button on Android?

Just add this script to a Game Object and your game will exist when you press the "back button" on your Android device.

Have more questions? Submit a request

3 Comments

  • 0
    Avatar
    Muhammad Tahir Khan

    What if we just want to use a button to exit? e.g. We have a menu & want to add a Quit button to it?

  • 0
    Avatar
    Muhammad Tahir Khan

    I've tried Application.Quit but not working.

  • 0
    Avatar
    Gilbert Anthony BAROUCH

    I provide a script to use the return android button.

     

    For something else don't hesitate to do it yoursefl and share with us your script my friend! 

     

    Cheers

Please sign in to leave a comment.
Powered by Zendesk