Show / Hide Table of Contents

Class HitEffectsGhost

Handles hit effects for a ghost character.

Inheritance
object
Object
Component
Behaviour
MonoBehaviour
HitEffectsGhost
Implements
IHitEffects
Namespace: WeaverCore.Components.HitEffects
Assembly: WeaverCore.dll
Syntax
public class HitEffectsGhost : MonoBehaviour, IHitEffects

Fields

| Edit this page View Source

ghostHitPt

Declaration
[Space]
[Tooltip("Prefab for ghost hit particles.")]
public GameObject ghostHitPt
Field Value
Type Description
GameObject
| Edit this page View Source

slashEffectGhost1

Declaration
[Tooltip("Prefab for ghost slash effect 1.")]
public GameObject slashEffectGhost1
Field Value
Type Description
GameObject
| Edit this page View Source

slashEffectGhost2

Declaration
[Tooltip("Prefab for ghost slash effect 2.")]
public GameObject slashEffectGhost2
Field Value
Type Description
GameObject

Methods

| Edit this page View Source

Awake()

Declaration
protected virtual void Awake()
| Edit this page View Source

PlayHitEffect(HitInfo, Vector3)

Spawns and plays hit effects based on the hit information.

Declaration
public void PlayHitEffect(HitInfo hit, Vector3 effectsOffset = default)
Parameters
Type Name Description
HitInfo hit

Information about the hit.

Vector3 effectsOffset

Offset for hit effects.

| Edit this page View Source

Reset()

Declaration
protected virtual void Reset()
| 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
☀
☾