Show / Hide Table of Contents

Class DeathWave

Used to play a wave effect upon death

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

Fields

| Edit this page View Source

GrowthSpeed

Declaration
[Tooltip("How fast the death wave will expand in size")]
public float GrowthSpeed
Field Value
Type Description
float
| Edit this page View Source

SizeMultiplier

Declaration
[Tooltip("A multiplier applied to the scale of the object")]
public float SizeMultiplier
Field Value
Type Description
float
| Edit this page View Source

Speed

Declaration
[Tooltip("Determines how long the death wave will last. The higher the number, the shorter it will live")]
public float Speed
Field Value
Type Description
float

Properties

| Edit this page View Source

TransparencyMultiplier

Declaration
public float TransparencyMultiplier { get; set; }
Property Value
Type Description
float

Methods

| Edit this page View Source

Spawn(Vector3, float)

Spawns a death wave effect

Declaration
public static DeathWave Spawn(Vector3 position, float sizeMultiplier)
Parameters
Type Name Description
Vector3 position

The position the death wave will spawn

float sizeMultiplier

A multiplier applied to the scale of the object

Returns
Type Description
DeathWave
| Edit this page View Source

UpdateVisuals()

Declaration
public void UpdateVisuals()

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