Skip to Main Content

BTD_Mod_Helper​.Api​.ModOptions​.ModSettingButton


BloonsTD6 Mod Helper

BTD_Mod_Helper.Api.ModOptions

ModSettingButton Class

ModSetting for adding a button in the settings that performs a given action, with the setting just tracking
the number of times that the button has been pressed.

public class ModSettingButton : BTD_Mod_Helper.Api.ModOptions.ModSetting

Inheritance System.ObjectModSetting  ModSettingButton

Constructors

ModSettingButton() Constructor

Initializes a new instance of the System.Object class.

public ModSettingButton();

Fields

ModSettingButton.action Field

The action that this button performs

public Action action;

Field Value

System.Action

ModSettingButton.buttonSprite Field

The sprite to use for the button, BlueBtnLong by default

public string buttonSprite;

Field Value

System.String

ModSettingButton.buttonText Field

The text that will appear on the button, "Dew It" by default

public string buttonText;

Field Value

System.String

ModSettingButton.modifyButton Field

Action to modify the ModHelperButton after it's created

public Action<ModHelperButton> modifyButton;

Field Value

System.Action<ModHelperButton>

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