Show / Hide Table of Contents

Class StunEffect

An effect that is instantiated when an enemy is stunned

Inheritance
object
Object
Component
Behaviour
MonoBehaviour
StunEffect
Namespace: WeaverCore.Assets.Components
Assembly: WeaverCore.dll
Syntax
public class StunEffect : MonoBehaviour

Methods

| Edit this page View Source

Spawn(Vector3)

Spawns a stun effect

Declaration
public static void Spawn(Vector3 position)
Parameters
Type Name Description
Vector3 position

The position to spawn the effect

| Edit this page View Source

Spawn(Vector3, AudioClip)

Spawns a stun effect

Declaration
public static void Spawn(Vector3 position, AudioClip clip)
Parameters
Type Name Description
Vector3 position

The position to spawn the effect

AudioClip clip

The sound to play when stunned

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
☀
☾