Exemple #1
0
 private static void popup_test()
 {
     GameUI.ShowMessage(ScreenMessageLocation.TOP_LEFT, "hey", 5f);
     PopUpMessage.DisplayOkOnly("ok only", null);
     PopUpMessage.Display("ok and cancel", null);
     PopUpMessage.Display("ok and cancel", null, () => {});
     PopUpWarning.Display("PopUpWarning");
     PopUpTwoChoices.Display(
         "PopUpTwoChoices",
         "aaa",
         "bbb",
         () =>
     {
         return;
     },
         () =>
     {
         return;
     });
     PopupInputField.Display(
         "PopUpInputField",
         "default",
         (result) =>
     {
         uConsole.Log("You typed: " + result);
     }
         );
 }
 public void Display()
 {
     PopupInputField.Display(
         title,
         defaultText,
         okDelegate
         );
 }