Skip to Main Content

BTD_Mod_Helper​.Api​.Towers​.ModTsmTheme


BloonsTD6 Mod Helper

BTD_Mod_Helper.Api.Towers

ModTsmTheme Class

ModContent for defining a new Tower Selection Menu Theme that towers can use.

towerModel.towerSelectionMenuThemeId = ModContent.GetId<MyModTsmTheme>();

public abstract class ModTsmTheme : BTD_Mod_Helper.Api.Towers.ModBaseTsmTheme

Inheritance System.ObjectModContentModBaseTsmTheme  ModTsmTheme

Properties

ModTsmTheme.BaseTheme Property

Which TSM theme to use as a base defaults to "Default" for Il2CppAssets.Scripts.Unity.UI_New.InGame.TowerSelectionMenu.TowerSelectionMenuThemes.TSMThemeDefault

public virtual string BaseTheme { get; }

Property Value

System.String

Methods

ModTsmTheme.AppliesTo(string) Method

Whether to affect the theme based on the Id, defaults to always affecting

public sealed override bool AppliesTo(string themeId);

Parameters

themeId System.String

string ID for the theme, same as Il2CppAssets.Scripts.Models.Towers.TowerModel.towerSelectionMenuThemeId

Returns

System.Boolean