Skip to Main Content

BTD_Mod_Helper​.Api​.Display​.ModCustomDisplay


BloonsTD6 Mod Helper

BTD_Mod_Helper.Api.Display

ModCustomDisplay Class

The custom version of a ModDisplay that loads in a model from a unity assetbundle

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

Inheritance System.ObjectModContentModDisplay  ModCustomDisplay

Properties

ModCustomDisplay.AssetBundleName Property

The name of the asset bundle file that the model is in, not including the .bundle extension

public abstract string AssetBundleName { get; }

Property Value

System.String

ModCustomDisplay.BaseDisplay Property

On a ModCustomDisplay, this property does nothing

public sealed override string BaseDisplay { get; }

Property Value

System.String

ModCustomDisplay.LoadAsync Property

Whether to try loading the asset from the bundle asynchronously.

public virtual bool LoadAsync { get; }

Property Value

System.Boolean

ModCustomDisplay.MaterialName Property

The name of the material that should be applied to the tower from the asset bundle, if any

public virtual string MaterialName { get; }

Property Value

System.String

ModCustomDisplay.PrefabName Property

The name of the prefab that the model has within the Asset Bundle

public abstract string PrefabName { get; }

Property Value

System.String

Methods

ModCustomDisplay.ModifyDisplayNode(UnityDisplayNode) Method

Performs alterations to the unity display node when it is created

public override void ModifyDisplayNode(UnityDisplayNode node);

Parameters

node Il2CppAssets.Scripts.Unity.Display.UnityDisplayNode

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