Table of Contents
The ModGameMenu for Mod Settings
public class ModSettingsMenu : BTD_Mod_Helper.Api.ModGameMenu<HotkeysScreen>
Inheritance System.Object ModContent ModGameMenu BTD_Mod_Helper.Api.ModGameMenu<Il2CppAssets.Scripts.Unity.UI_New.Settings.HotkeysScreen> ModSettingsMenu
The most recent mod with opened settings
public static BTD_Mod_Helper.BloonsMod BloonsMod { get; set; }
Runs right as your custom menu is being closed
public override void OnMenuClosed();
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);
data
Il2CppSystem.Object
System.Boolean
Whether to run the base menu's OnOpen code
Runs every time that your custom menu updates
public override void OnMenuUpdate();
Opens the Mod Settings for a specific mod
public static void Open(BTD_Mod_Helper.BloonsMod mod);
mod
BloonsMod