public static void ShowException(Exception ex, string message = "") { var info = new ExceptionInfo(ex, message); var window = new ExceptionWindow(info); if (Editor.Instance == null || Editor.Instance.IsDisposed) { window.Show(); } else { window.Show(Editor.Instance); } }
public static void ShowException(Exception ex, string message = "") { var info = new ExceptionInfo(ex, message); var window = new ExceptionWindow(info); if (Editor.Instance == null || Editor.Instance.IsDisposed) window.Show(); else window.Show(Editor.Instance); }