Skip to Main Content

BTD_Mod_Helper​.Extensions​.ProjectileExt


BloonsTD6 Mod Helper

BTD_Mod_Helper.Extensions

ProjectileExt Class

Extensions for Projectiles

public static class ProjectileExt

Inheritance System.Object  ProjectileExt

Methods

ProjectileExt.GetDisplayNode(this Projectile) Method

Get the DisplayNode for this Projectile

public static DisplayNode GetDisplayNode(this Projectile projectile);

Parameters

projectile Il2CppAssets.Scripts.Simulation.Towers.Projectiles.Projectile

Returns

Il2CppAssets.Scripts.Simulation.Display.DisplayNode

ProjectileExt.GetFactory(this Projectile) Method

Return the Factory that creates Projectiles

public static Factory<Projectile> GetFactory(this Projectile projectile);

Parameters

projectile Il2CppAssets.Scripts.Simulation.Towers.Projectiles.Projectile

Returns

Il2CppAssets.Scripts.Simulation.Factory.Factory

ProjectileExt.GetUnityDisplayNode(this Projectile) Method

Get the UnityDisplayNode for this Projectile. Is apart of DisplayNode. Needed to modify sprites

public static UnityDisplayNode GetUnityDisplayNode(this Projectile projectile);

Parameters

projectile Il2CppAssets.Scripts.Simulation.Towers.Projectiles.Projectile

Returns

Il2CppAssets.Scripts.Unity.Display.UnityDisplayNode

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