Skip to Main Content

BTD_Mod_Helper​.Api​.Display​.ModDisplay2D


BloonsTD6 Mod Helper

BTD_Mod_Helper.Api.Display

ModDisplay2D Class

Mod Display specifically set up to be a 2d image

public abstract class ModDisplay2D : BTD_Mod_Helper.Api.Display.ModDisplay

Inheritance System.ObjectModContentModDisplay  ModDisplay2D

Properties

ModDisplay2D.BaseDisplay Property

The GUID of the display to copy this ModDisplay off of

public override string BaseDisplay { get; }

Property Value

System.String

ModDisplay2D.TextureName Property

The file name (no .png) from your mod that you want to use as the 2d texture

protected abstract string TextureName { get; }

Property Value

System.String

Methods

ModDisplay2D.Apply(TowerModel) Method

Applies this ModDisplay to a given TowerModel

public override void Apply(TowerModel towerModel);

Parameters

towerModel Il2CppAssets.Scripts.Models.Towers.TowerModel

ModDisplay2D.ModifyDisplayNode(UnityDisplayNode) Method

Alters the UnityDisplayNode that was copied from the one used by BaseDisplay

public override void ModifyDisplayNode(UnityDisplayNode node);

Parameters

node Il2CppAssets.Scripts.Unity.Display.UnityDisplayNode

The prototype unity display node

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