Skip to Main Content

BTD_Mod_Helper​.Extensions​.BloonToSimulationExt


BloonsTD6 Mod Helper

BTD_Mod_Helper.Extensions

BloonToSimulationExt Class

Extensions for the BloonToSimulation

public static class BloonToSimulationExt

Inheritance System.Object  BloonToSimulationExt

Methods

BloonToSimulationExt.GetBloon(this BloonToSimulation) Method

Return the Simulation Bloon for this specific BloonToSimulation. Returns object of class Bloon

public static Bloon GetBloon(this BloonToSimulation bloonToSim);

Parameters

bloonToSim Il2CppAssets.Scripts.Unity.Bridge.BloonToSimulation

Returns

Il2CppAssets.Scripts.Simulation.Bloons.Bloon

BloonToSimulationExt.GetDisplayNode(this BloonToSimulation) Method

Return the DisplayNode for this bloon

public static DisplayNode GetDisplayNode(this BloonToSimulation bloonToSim);

Parameters

bloonToSim Il2CppAssets.Scripts.Unity.Bridge.BloonToSimulation

Returns

Il2CppAssets.Scripts.Simulation.Display.DisplayNode

BloonToSimulationExt.GetDistanceTravelled(this BloonToSimulation) Method

Return the total distance this BloonToSim has travelled

public static float GetDistanceTravelled(this BloonToSimulation bloonToSim);

Parameters

bloonToSim Il2CppAssets.Scripts.Unity.Bridge.BloonToSimulation

Returns

System.Single

BloonToSimulationExt.GetId(this BloonToSimulation) Method

Return the Id of this BloonToSimulation

public static ObjectId GetId(this BloonToSimulation bloonToSim);

Parameters

bloonToSim Il2CppAssets.Scripts.Unity.Bridge.BloonToSimulation

Returns

Il2CppAssets.Scripts.ObjectId

BloonToSimulationExt.GetUnityDisplayNode(this BloonToSimulation) Method

Return the UnityDisplayNode for this bloon. Is apart of DisplayNode. Needed to modify sprites

public static UnityDisplayNode GetUnityDisplayNode(this BloonToSimulation bloonToSim);

Parameters

bloonToSim Il2CppAssets.Scripts.Unity.Bridge.BloonToSimulation

Returns

Il2CppAssets.Scripts.Unity.Display.UnityDisplayNode

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