Exemple #1
0
 public void OpenMessageBox(string message, eUIMessageBoxButtonType type, UIMessageBox.ButtonCB onButtonCB, params object[] param)
 {
     if (uiMessageBox != null)
     {
         uiMessageBox.OpenFrame(message, type, onButtonCB, param);
     }
 }
Exemple #2
0
    void LateUpdate()
    {
#if UNITY_ANDROID
        if (Input.GetKeyUp(KeyCode.Escape))
        {
            UIMessageBox.ButtonCB quitCB = new UIMessageBox.ButtonCB(SupportUtil.ApplicationQuit);
            OpenMessageBox(SupportString.GetString(3012), eUIMessageBoxButtonType.Type_Ok_Cancel, quitCB);
        }
#endif
    }
Exemple #3
0
    void LateUpdate()
    {
#if UNITY_ANDROID
        if (Input.GetKeyUp(KeyCode.Escape))
        {
            UIMessageBox.ButtonCB quitCB = new UIMessageBox.ButtonCB(OnAndroidBack);
            OpenMessageBox(SupportString.GetString(100001), eUIMessageBoxButtonType.Type_Ok_Cancel, quitCB);
        }
#endif

        Touch();
    }