Skip to Main Content

BTD_Mod_Helper​.UI​.Menus​.ModSettingsMenu


BloonsTD6 Mod Helper

BTD_Mod_Helper.UI.Menus

ModSettingsMenu Class

The ModGameMenu for Mod Settings

public class ModSettingsMenu : BTD_Mod_Helper.Api.ModGameMenu<HotkeysScreen>

Inheritance System.ObjectModContentModGameMenuBTD_Mod_Helper.Api.ModGameMenu<Il2CppAssets.Scripts.Unity.UI_New.Settings.HotkeysScreen>  ModSettingsMenu

Properties

ModSettingsMenu.BloonsMod Property

The most recent mod with opened settings

public static BTD_Mod_Helper.BloonsMod BloonsMod { get; set; }

Property Value

BloonsMod

Methods

ModSettingsMenu.OnMenuClosed() Method

Runs right as your custom menu is being closed

public override void OnMenuClosed();

ModSettingsMenu.OnMenuOpened(Object) Method

Runs right as your custom menu is being opened, with the optional data argument that can be passed into
Open<T>(Object, Object)

public override bool OnMenuOpened(Object data);

Parameters

data Il2CppSystem.Object

Returns

System.Boolean
Whether to run the base menu's OnOpen code

ModSettingsMenu.OnMenuUpdate() Method

Runs every time that your custom menu updates

public override void OnMenuUpdate();

ModSettingsMenu.Open(BloonsMod) Method

Opens the Mod Settings for a specific mod

public static void Open(BTD_Mod_Helper.BloonsMod mod);

Parameters

mod BloonsMod

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