Table of Contents
ModHelperComponent for a category in the mod settings menu
public class ModHelperCategory : BTD_Mod_Helper.Api.Components.ModHelperOption
Inheritance UnityEngine.MonoBehaviour ModHelperComponent ModHelperOption ModHelperCategory
Whether the category is hidden or not
public bool collapsed;
The panel that holds all the mod settings
public BTD_Mod_Helper.Api.Components.ModHelperPanel CategoryContent { get; }
Creates a new ModHelperCategory
public static BTD_Mod_Helper.Api.Components.ModHelperCategory Create(string displayName, bool collapsed, string icon=null);
displayName System.String
The name of the category
collapsed System.Boolean
Whether it's collapsed by default or not
icon System.String
The icon for the category, if any
ModHelperCategory
The created ModHelperCategory
Initializes this ModHelperCategory
public BTD_Mod_Helper.Api.Components.ModHelperCategory Init(string displayName, bool collapsed, string icon=null);
displayName System.String
The name of the category
collapsed System.Boolean
Whether it's collapsed by default or not
icon System.String
The icon for the category, if any
ModHelperCategory
this ModHelperCategory