An event used (usually by feedbacks) to trigger the spawn of a new floating text
More...
|
delegate void | Delegate (int channel, Vector3 spawnPosition, string value, Vector3 direction, float intensity, bool forceLifetime=false, float lifetime=1f, bool forceColor=false, Gradient animateColorGradient=null, bool useUnscaledTime=false) |
|
|
static void | Register (Delegate callback) |
|
static void | Unregister (Delegate callback) |
|
static void | Trigger (int channel, Vector3 spawnPosition, string value, Vector3 direction, float intensity, bool forceLifetime=false, float lifetime=1f, bool forceColor=false, Gradient animateColorGradient=null, bool useUnscaledTime=false) |
|
An event used (usually by feedbacks) to trigger the spawn of a new floating text
◆ Delegate()
delegate void MoreMountains.Tools.MMFloatingTextSpawnEvent.Delegate |
( |
int |
channel, |
|
|
Vector3 |
spawnPosition, |
|
|
string |
value, |
|
|
Vector3 |
direction, |
|
|
float |
intensity, |
|
|
bool |
forceLifetime = false , |
|
|
float |
lifetime = 1f , |
|
|
bool |
forceColor = false , |
|
|
Gradient |
animateColorGradient = null , |
|
|
bool |
useUnscaledTime = false |
|
) |
| |
◆ Register()
static void MoreMountains.Tools.MMFloatingTextSpawnEvent.Register |
( |
Delegate |
callback | ) |
|
|
static |
◆ Trigger()
static void MoreMountains.Tools.MMFloatingTextSpawnEvent.Trigger |
( |
int |
channel, |
|
|
Vector3 |
spawnPosition, |
|
|
string |
value, |
|
|
Vector3 |
direction, |
|
|
float |
intensity, |
|
|
bool |
forceLifetime = false , |
|
|
float |
lifetime = 1f , |
|
|
bool |
forceColor = false , |
|
|
Gradient |
animateColorGradient = null , |
|
|
bool |
useUnscaledTime = false |
|
) |
| |
|
static |
◆ Unregister()
static void MoreMountains.Tools.MMFloatingTextSpawnEvent.Unregister |
( |
Delegate |
callback | ) |
|
|
static |
The documentation for this struct was generated from the following file: