Skip to Main Content

BTD_Mod_Helper​.Api​.Components​.ModHelperCategory


BloonsTD6 Mod Helper

BTD_Mod_Helper.Api.Components

ModHelperCategory Class

ModHelperComponent for a category in the mod settings menu

public class ModHelperCategory : BTD_Mod_Helper.Api.Components.ModHelperOption

Inheritance UnityEngine.MonoBehaviourModHelperComponentModHelperOption  ModHelperCategory

Fields

ModHelperCategory.collapsed Field

Whether the category is hidden or not

public bool collapsed;

Field Value

System.Boolean

Properties

ModHelperCategory.CategoryContent Property

The panel that holds all the mod settings

public BTD_Mod_Helper.Api.Components.ModHelperPanel CategoryContent { get; }

Property Value

ModHelperPanel

Methods

ModHelperCategory.Create(string, bool, string) Method

Creates a new ModHelperCategory

public static BTD_Mod_Helper.Api.Components.ModHelperCategory Create(string displayName, bool collapsed, string icon=null);

Parameters

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

Returns

ModHelperCategory
The created ModHelperCategory

To learn how to download BTD Mod Helper and install mods, click here