public static void ShowWindow() { bool bUtility = false; bool bFocus = true; string title = "Houdini Engine Tools"; HEU_ShelfToolsWindow window = EditorWindow.GetWindow<HEU_ShelfToolsWindow>(bUtility, title, bFocus); window.autoRepaintOnSceneChange = true; window.minSize = new Vector2(_windowWidth, _windowHeight); }
public static void ShowWindow() { bool bUtility = false; bool bFocus = true; string title = "HEngine Tools"; //Rect rect = new Rect(Screen.width * 0.5f, Screen.height * 0.5f, _windowWidth, _windowHeight); //EditorWindow window = EditorWindow.GetWindowWithRect<HEU_HoudiniToolsWindow>(rect, bUtility, title, bFocus); HEU_ShelfToolsWindow window = EditorWindow.GetWindow<HEU_ShelfToolsWindow>(bUtility, title, bFocus); window.autoRepaintOnSceneChange = true; }
public static void ShowHEngineTools() { HEU_ShelfToolsWindow.ShowWindow(); }