Class DeathWave
Used to play a wave effect upon death
Inheritance
Object
Component
Behaviour
MonoBehaviour
DeathWave
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
|
Edit this page
View Source
SizeMultiplier
Declaration
[Tooltip("A multiplier applied to the scale of the object")]
public float SizeMultiplier
Field Value
|
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
Properties
|
Edit this page
View Source
TransparencyMultiplier
Declaration
public float TransparencyMultiplier { get; set; }
Property Value
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
|
Edit this page
View Source
UpdateVisuals()
Declaration
public void UpdateVisuals()
Extension Methods