Skip to content

Class: DashAttackInstance ​

csharp
public class DashAttackInstance : DamageInstance, ILogicUpdate, ICleanup, ICustomDestroyRoutine

Fields ​

NameDeclarationDescription
damageGracePeriod`[Title("Dash Attack Instance", null, TitleAlignments.Left, true, true)]
public float damageGracePeriod`
dash`[InlineProperty]
[HideLabel]
public Dash dash`
isDirectionModepublic bool isDirectionMode

Methods ​

ActiveFrameUpdate() ​

csharp
protected override void ActiveFrameUpdate()

ActiveLogicUpdate(float) ​

csharp
protected override void ActiveLogicUpdate(float dt)

Parameters:

NameTypeDescription
dtfloat

OnBeforeDispatchDamage(ref DamageData, Entity) ​

csharp
protected override void OnBeforeDispatchDamage(ref DamageData dmg, Entity target)

Parameters:

NameTypeDescription
dmgDamageData
targetEntity

OnCreate() ​

csharp
protected override void OnCreate()

OnSetupDash(DispByDestination) ​

csharp
protected virtual void OnSetupDash(DispByDestination disp)

Parameters:

NameTypeDescription
dispDispByDestination

Maintained by the Shape of Dreams Modding Community