An event used (usually from MMFeeedbackSpriteRenderer) to shake the values of a SpriteRenderer
More...
|
delegate void | Delegate (float shakeDuration, bool modifyColor, Gradient colorOverTime, bool flipX, bool flipY, float feedbacksIntensity=1.0f, MMChannelData channelData=null, bool resetShakerValuesAfterShake=true, bool resetTargetValuesAfterShake=true, bool useRange=false, float eventRange=0f, Vector3 eventOriginPosition=default(Vector3)) |
|
|
static void | Register (Delegate callback) |
|
static void | Unregister (Delegate callback) |
|
static void | Trigger (float shakeDuration, bool modifyColor, Gradient colorOverTime, bool flipX, bool flipY, float feedbacksIntensity=1.0f, MMChannelData channelData=null, bool resetShakerValuesAfterShake=true, bool resetTargetValuesAfterShake=true, bool useRange=false, float eventRange=0f, Vector3 eventOriginPosition=default(Vector3)) |
|
An event used (usually from MMFeeedbackSpriteRenderer) to shake the values of a SpriteRenderer
◆ Delegate()
delegate void MoreMountains.Feedbacks.MMSpriteRendererShakeEvent.Delegate |
( |
float |
shakeDuration, |
|
|
bool |
modifyColor, |
|
|
Gradient |
colorOverTime, |
|
|
bool |
flipX, |
|
|
bool |
flipY, |
|
|
float |
feedbacksIntensity = 1.0f , |
|
|
MMChannelData |
channelData = null , |
|
|
bool |
resetShakerValuesAfterShake = true , |
|
|
bool |
resetTargetValuesAfterShake = true , |
|
|
bool |
useRange = false , |
|
|
float |
eventRange = 0f , |
|
|
Vector3 |
eventOriginPosition = default(Vector3) |
|
) |
| |
◆ Register()
static void MoreMountains.Feedbacks.MMSpriteRendererShakeEvent.Register |
( |
Delegate |
callback | ) |
|
|
static |
◆ Trigger()
static void MoreMountains.Feedbacks.MMSpriteRendererShakeEvent.Trigger |
( |
float |
shakeDuration, |
|
|
bool |
modifyColor, |
|
|
Gradient |
colorOverTime, |
|
|
bool |
flipX, |
|
|
bool |
flipY, |
|
|
float |
feedbacksIntensity = 1.0f , |
|
|
MMChannelData |
channelData = null , |
|
|
bool |
resetShakerValuesAfterShake = true , |
|
|
bool |
resetTargetValuesAfterShake = true , |
|
|
bool |
useRange = false , |
|
|
float |
eventRange = 0f , |
|
|
Vector3 |
eventOriginPosition = default(Vector3) |
|
) |
| |
|
static |
◆ Unregister()
static void MoreMountains.Feedbacks.MMSpriteRendererShakeEvent.Unregister |
( |
Delegate |
callback | ) |
|
|
static |
The documentation for this struct was generated from the following file: