Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

Strange UnityApp.BackButtonPressed()

Discussion in 'Windows' started by nikigter, Jul 28, 2013.

  1. nikigter

    nikigter

    Joined:
    Jul 5, 2013
    Posts:
    4
    In a new WP8 Build the
    Code (csharp):
    1. UnityApp.BackButtonPressed()
    function returns "true". This prevents the app to quit because of
    Code (csharp):
    1. e.Cancel = UnityApp.BackButtonPressed();
    If you build the demo AngryBots, the same
    Code (csharp):
    1. UnityApp.BackButtonPressed()
    function returns "false" and the app quits.

    So, which functionality is correct?