/// <summary> /// Loads and display the Help Window /// </summary> public static void Load() { Vector2 size = new Vector2(300, 180); MoonHelpWindow hw = GetWindow <MoonHelpWindow>(); hw.titleContent.text = "Help"; hw.maxSize = size; hw.minSize = size; hw.ShowUtility(); hw.Focus(); }
public static MoonEditorWindow LoadWindow() { MoonEditorWindow instance = GetWindow <MoonEditorWindow>(); instance.titleContent.text = "Moon Behavior"; if (MoonSettings.HelpOnStartUp) { MoonHelpWindow.Load(); } return(instance); }