Show / Hide Table of Contents

Class RoarEmitter

Used by the Enemy to create a Roar Effect

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

Fields

| Edit this page View Source

stopAfterTime

Declaration
[Tooltip("How long should the roar effect last by default")]
public float stopAfterTime
Field Value
Type Description
float

Methods

| Edit this page View Source

RoarLockPlayer()

Causes the player to lock in place. Used primarily to lock the player during a roar

Declaration
public void RoarLockPlayer()
| Edit this page View Source

RoarUnlockPlayer()

Stops the player from being locked in place

Declaration
public void RoarUnlockPlayer()
| Edit this page View Source

Spawn(Vector3)

Spawns a roar effect

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

The position to spawn the effect

Returns
Type Description
RoarEmitter

Returns an instance to the roar effect

| Edit this page View Source

StopRoaring()

Halts the roaring effect

Declaration
public void StopRoaring()
| Edit this page View Source

StopRoaringAfter(float)

Halts the roaring effect after a set amount of time

Declaration
public void StopRoaringAfter(float time)
Parameters
Type Name Description
float time

The time to wait before halting

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