Search Unity

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?