Beispiel #1
0
        public void ShowDialog(BaseDialog dialog, Action onComplete = null, Action <int> result = null)
        {
            if (!dialog)
            {
                return;
            }
            if (dialog.IsShowing)
            {
                return;
            }

            OnBeforeShowDialog(dialog, () => {
                dialog.Show(() => {
                    OnAfterShowDialog(dialog, onComplete);
                }, result);
            });
        }