Class HitEffectsNormal
The hit effects for non-infected enemies
Implements
Namespace: WeaverCore.Components.HitEffects
Assembly: WeaverCore.dll
Syntax
public class HitEffectsNormal : MonoBehaviour, IHitEffects
Properties
| Edit this page View SourceDamageSound
Declaration
public AudioClip DamageSound { get; protected set; }
Property Value
| Type | Description |
|---|---|
| AudioClip |
Methods
| Edit this page View SourcePlayHitEffect(HitInfo, Vector3)
Plays the enemy's hit effects
Declaration
public void PlayHitEffect(HitInfo hit, Vector3 effectsOffset = default)
Parameters
| Type | Name | Description |
|---|---|---|
| HitInfo | hit | The hit on the enemy |
| Vector3 | effectsOffset | An offset applied to the effects |