public static void Display() { // Get existing open window or if none, make a new one: EditorWindow window = (PiXYZImportMenu)EditorWindow.GetWindow(typeof(PiXYZImportMenu), true, "PiXYZ CAD Import Settings"); window.minSize = new Vector2(430.0f, 100.0f); window.maxSize = new Vector2(430.0f, 110); window.CenterOnMainWin(); window.Show(); }