Example #1
0
        protected PopupWindow PopupCancel(string title, string message)
        {
            if (_popupWindow != null)
            {
                _popupWindow.Destroy();
            }

            _popupWindow = PopupWindow.CreateCancelPopup(transform.parent, title, message, OnPopupOkClick);
            _popupWindow.SetMessage(message, 500, 250);
            return(_popupWindow);
        }