Skip to Main Content
Table of Contents

BTD_Mod_Helper​.Api​.Helpers​.ProjectileHelper


BloonsTD6 Mod Helper

BTD_Mod_Helper.Api.Helpers

ProjectileHelper Class

A wrapper around ProjectileModels for making them easier to create

public class ProjectileHelper : BTD_Mod_Helper.Api.Helpers.ModelHelper<ProjectileModel>

Inheritance System.ObjectModelHelperBTD_Mod_Helper.Api.Helpers.ModelHelper<Il2CppAssets.Scripts.Models.Towers.Projectiles.ProjectileModel>  ProjectileHelper

Constructors

ProjectileHelper(string) Constructor

Begins construction of a new ProjectileModel with sensible default values

public ProjectileHelper(string name="");

Parameters

name System.String

The model name (don't need the ProjectileModel_ part)

Properties

ProjectileHelper.Behaviors Property

public Model[] Behaviors { get; set; }

Property Value

Il2CppAssets.Scripts.Models.Model[]

See Also

ProjectileHelper.CanCollisionBeBlockedByMapLos Property

public bool CanCollisionBeBlockedByMapLos { get; set; }

Property Value

System.Boolean

See Also

ProjectileHelper.CanHitCamo Property

public bool CanHitCamo { get; set; }

Property Value

System.Boolean

See Also

ProjectileHelper.CheckCollisionFrames Property

public int CheckCollisionFrames { get; set; }

Property Value

System.Int32

See Also

ProjectileHelper.CheckCollisionIntervalFrames Property

public int CheckCollisionIntervalFrames { get; set; }

Property Value

System.Int32

See Also

ProjectileHelper.CollissionPasses Property

public int[] CollissionPasses { get; set; }

Property Value

System.Int32[]

See Also

ProjectileHelper.Display Property

public string Display { get; set; }

Property Value

System.String

See Also

ProjectileHelper.DisplayModel Property

This ProjectileModel's DisplayModel

public DisplayModel DisplayModel { get; }

Property Value

Il2CppAssets.Scripts.Models.GenericBehaviors.DisplayModel

ProjectileHelper.DisplayReference Property

public PrefabReference DisplayReference { get; set; }

Property Value

Il2CppNinjaKiwi.Common.ResourceUtils.PrefabReference

See Also

ProjectileHelper.DontUseCollisionChecker Property

public bool DontUseCollisionChecker { get; set; }

Property Value

System.Boolean

See Also

ProjectileHelper.Filter Property

This ProjectileModel's ProjectileFilterModel

public ProjectileFilterModel Filter { get; }

Property Value

Il2CppAssets.Scripts.Models.Towers.Projectiles.Behaviors.ProjectileFilterModel

ProjectileHelper.Filters Property

public FilterModel[] Filters { get; set; }

Property Value

Il2CppAssets.Scripts.Models.Towers.Filters.FilterModel[]

See Also

ProjectileHelper.IgnoreBlockers Property

public bool IgnoreBlockers { get; set; }

Property Value

System.Boolean

See Also

ProjectileHelper.IgnoreNonTargetable Property

public bool IgnoreNonTargetable { get; set; }

Property Value

System.Boolean

See Also

ProjectileHelper.IgnorePierceExhaustion Property

public bool IgnorePierceExhaustion { get; set; }

Property Value

System.Boolean

See Also

ProjectileHelper.MaxPierce Property

public float MaxPierce { get; set; }

Property Value

System.Single

See Also

ProjectileHelper.Pierce Property

public float Pierce { get; set; }

Property Value

System.Single

See Also

ProjectileHelper.Radius Property

public float Radius { get; set; }

Property Value

System.Single

See Also

ProjectileHelper.SaveId Property

public string SaveId { get; set; }

Property Value

System.String

See Also

ProjectileHelper.Scale Property

public float Scale { get; set; }

Property Value

System.Single

See Also

ProjectileHelper.UsePointCollisionWithBloons Property

public bool UsePointCollisionWithBloons { get; set; }

Property Value

System.Boolean

See Also

ProjectileHelper.VsBlockerRadius Property

public float VsBlockerRadius { get; set; }

Property Value

System.Single

See Also

Operators

ProjectileHelper.implicit operator ProjectileHelper(ProjectileModel) Operator

Wraps a model

public static BTD_Mod_Helper.Api.Helpers.ProjectileHelper implicit operator ProjectileHelper(ProjectileModel model);

Parameters

model Il2CppAssets.Scripts.Models.Towers.Projectiles.ProjectileModel

Returns

ProjectileHelper

ProjectileHelper.implicit operator ProjectileModel(ProjectileHelper) Operator

Unwraps the model (and updates collision passes)

public static ProjectileModel implicit operator ProjectileModel(BTD_Mod_Helper.Api.Helpers.ProjectileHelper helper);

Parameters

helper ProjectileHelper

Returns

Il2CppAssets.Scripts.Models.Towers.Projectiles.ProjectileModel

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