Ejemplo n.º 1
0
 public void Show(PopUpEndEvent function)
 {
     if (function != null)
     {
         _fun_callback = function;
     }
 }
Ejemplo n.º 2
0
 private void ClosePopup()
 {
     _fun_callback = null;
     CloseView();
 }
Ejemplo n.º 3
0
 public static void ShowConfirm(string text, string okText, string cancelText, PopUpEndEvent fun)
 {
     /*ShowDialog("Popup_Dlg");
      *
      * PanelPopup dlg = GetDialogComponent<PanelPopup>("Popup_Dlg");
      * dlg.SetContentText(text);
      * dlg.SetOkText(OKText);
      * dlg.SetCancelText(cancelText);
      * dlg.Show(fun);*/
 }
Ejemplo n.º 4
0
 public static void ShowConfirm(string text, string okText, PopUpEndEvent fun)
 {
     ShowConfirm(text, okText, CANCEL_LOC.Loc(), fun);
 }