//Note: Hidden from the tools because it's not fully functional at the moment //[MenuItem("ChopChop/Quest Editor")] public static void ShowWindow() { QuestEditorWindow wnd = GetWindow <QuestEditorWindow>(); wnd.titleContent = new GUIContent("Quest Editor"); // Sets a minimum size to the window. wnd.minSize = new Vector2(250, 250); }
public static void ShowArtistToolWindow() { // Opens the window, otherwise focuses it if it’s already open. QuestEditorWindow window = GetWindow <QuestEditorWindow>(); // Adds a title to the window. window.titleContent = new GUIContent("Quest Editor"); // Sets a minimum size to the window. window.minSize = new Vector2(250, 250); //window.SetTool(); }