Show / Hide Table of Contents

Class HitEffectsInfected

The hit effects for infected enemies

Inheritance
object
Object
Component
Behaviour
MonoBehaviour
HitEffectsInfected
Implements
IHitEffects
Namespace: WeaverCore.Components.HitEffects
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

IHitEffects

Extension Methods

ReflectionUtilities.ReflectCallMethod(object, string, object[], BindingFlags)
ReflectionUtilities.ReflectGetField(object, string, BindingFlags)
ReflectionUtilities.ReflectGetMethod(object, string, BindingFlags)
ReflectionUtilities.ReflectGetProperty(object, string, BindingFlags)
ReflectionUtilities.ReflectSetField(object, string, object, BindingFlags)
ReflectionUtilities.ReflectSetProperty(object, string, object, BindingFlags)
CoroutineUtilities.RunCoroutineWhile<T>(T, IEnumerator, Func<bool>)
  • Edit this page
  • View Source
☀
☾
In this article
Back to top
Generated by DocFX
☀
☾