Пример #1
0
 void Update()
 {
     if (Input.GetKeyUp(KeyCode.Escape))
     {
         WebMediator.ShowExitPanel();
     }
 }
    public static void ShowExitDialog()
    {
#if UNITY_IPHONE
        _showExitDialog("title", "message");
#elif UNITY_ANDROID
        WebMediator.ShowExitPanel();
#endif
    }