Class: MeleeAttackInstance
- Namespace:
Global - Assembly:
Dew.Core.dll - Inheritance / Derived: DewNetworkBehaviour → Actor → AbilityInstance
csharp
public class MeleeAttackInstance : AbilityInstance, ILogicUpdate, ICleanup, ICustomDestroyRoutineFields
| Name | Declaration | Description |
|---|---|---|
fxHitMain | public GameObject fxHitMain | |
fxHitSub | public GameObject fxHitSub | |
hitCount | `[NonSerialized] | |
| public int hitCount` | Available on server. | |
isCrit | public bool isCrit | |
mainTargetAttackEffect | public float mainTargetAttackEffect | |
mainTargetDamage | public float mainTargetDamage | |
range | public DewCollider range | |
scaleRangeWithTriggerRange | public bool scaleRangeWithTriggerRange | |
subTargetAttackEffect | public float subTargetAttackEffect | |
subTargetDamage | public float subTargetDamage |
Properties
| Name | Declaration | Description |
|---|---|---|
didHit | public bool didHit { get; } | Available on server. |
Methods
OnCreate()
csharp
protected override void OnCreate()