Beispiel #1
0
 private void DoCreateWindow(SimplePopUpMessageWindow popupWindow)
 {
     popupWindow.OnClose += () =>
     {
         ClientJobManager.I.ReserveJob(async() =>
         {
             m_VeldridWindow.TryRemoveRenderer(popupWindow);
         });
     };
     AddGui(popupWindow);
 }
Beispiel #2
0
        public void CreatePopUp(string message, Action onOk, Action onCancel)
        {
            var popupWindow = new SimplePopUpMessageWindow(message, onOk, onCancel);

            DoCreateWindow(popupWindow);
        }
Beispiel #3
0
        public void CreatePopUp(string message)
        {
            var popupWindow = new SimplePopUpMessageWindow(message);

            DoCreateWindow(popupWindow);
        }