Class HitEffectsInfected
The hit effects for infected enemies
Inheritance
Object
Component
Behaviour
MonoBehaviour
HitEffectsInfected
Assembly: WeaverCore.dll
Syntax
public class HitEffectsInfected : MonoBehaviour, IHitEffects
Properties
|
Edit this page
View Source
DamageFlash
Declaration
public GameObject DamageFlash { get; protected set; }
Property Value
Type |
Description |
GameObject |
|
|
Edit this page
View Source
DamageSound
Declaration
public AudioClip DamageSound { get; protected set; }
Property Value
Type |
Description |
AudioClip |
|
|
Edit this page
View Source
HitPuff
Declaration
public GameObject HitPuff { get; protected set; }
Property Value
Type |
Description |
GameObject |
|
|
Edit this page
View Source
OrangeSpatter
Declaration
public GameObject OrangeSpatter { get; protected set; }
Property Value
Type |
Description |
GameObject |
|
Methods
|
Edit this page
View Source
PlayHitEffect(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
|
|
Edit this page
View Source
Reset()
Declaration
protected virtual void Reset()
|
Edit this page
View Source
Start()
Declaration
protected virtual void Start()
|
Edit this page
View Source
Update()
Declaration
protected virtual void Update()
Implements
Extension Methods