internal static void Launch(SketchUpNodeInfo[] nodes, SketchUpImporterModelEditor suModelEditor) { SketchUpImportDlg windowDontShow = EditorWindow.GetWindowDontShow <SketchUpImportDlg>(); windowDontShow.Init(nodes, suModelEditor); windowDontShow.ShowAuxWindow(); }
internal static int[] LaunchAsModal(SketchUpNodeInfo[] nodes) { SketchUpImportDlg windowDontShow = EditorWindow.GetWindowDontShow <SketchUpImportDlg>(); windowDontShow.Init(nodes, (SketchUpImporterModelEditor)null); windowDontShow.isModal = true; windowDontShow.ShowModal(); return(windowDontShow.m_DataSource.FetchEnableNodes()); }