コード例 #1
0
        public static void ShowMessage(DialogPopupDelegate popupDelegate, String format, params Object[] args)
        {
            String      message = StringUtils.TryFormat(format, args);
            DialogPopup popup   = new DialogPopup(popupDelegate, "Message", message, ButtonOk);

            Application.RootController().GetCurrentController().StartPopup(popup);
        }
コード例 #2
0
        private void OnDisconnectedFromServerDialogFinish(DialogPopup popup, int buttonId)
        {
            MultiplayerLobbyScreen lobbyScreen = FindLobbyScreen();
            Debug.Assert(lobbyScreen != null);

            lobbyScreen.Finish();
        }
コード例 #3
0
 private static void DefaultDialogPopupDelegate(DialogPopup popup, int buttonId)
 {
     popup.Finish();
     popup.NotifyPopupDelegate(buttonId);
 }
コード例 #4
0
 private static void DefaultDialogPopupDelegate(DialogPopup popup, int buttonId)
 {
     popup.Finish();
     popup.NotifyPopupDelegate(buttonId);
 }
コード例 #5
0
 public static void ShowMessage(DialogPopupDelegate popupDelegate, String format, params Object[] args)
 {
     String message = StringUtils.TryFormat(format, args);
     DialogPopup popup = new DialogPopup(popupDelegate, "Message", message, ButtonOk);
     Application.RootController().GetCurrentController().StartPopup(popup);
 }