public void Setup() { m_Window = ShapeEditorOpenEndedWindow.CreateInstance <ShapeEditorOpenEndedWindow>(); m_Window.Show(true); }
// This Menuitem is for debugging purposes // [MenuItem("Window/ShapeEditorOpenEndedWindow2")] static void InitShapeEditorOpenEndedWindow() { ShapeEditorOpenEndedWindow window = (ShapeEditorOpenEndedWindow)EditorWindow.GetWindow(typeof(ShapeEditorOpenEndedWindow)); window.Show(); }