Feel  4.3
The best way to improve your game's feel and make it extra juicy
MoreMountains.Feedbacks.MMSpriteRendererShakeEvent Struct Reference

An event used (usually from MMFeeedbackSpriteRenderer) to shake the values of a SpriteRenderer More...

Public Member Functions

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 Public Member Functions

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))
 

Detailed Description

An event used (usually from MMFeeedbackSpriteRenderer) to shake the values of a SpriteRenderer

Member Function Documentation

◆ 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: