public static void OpenJobWindow() { var window = EditorWindow.GetWindow(typeof(JobEditorWindow)); Instance = (JobEditorWindow)window; window.Show(); }
private void OpenJobEditor(object sender, RoutedEventArgs e) { var win = new JobEditorWindow(); win.ShowDialog(); }