Feel  5.1
The best way to improve your game's feel and make it extra juicy
Lofelt.NiceVibrations.MMUIShaker Class Reference
Inheritance diagram for Lofelt.NiceVibrations.MMUIShaker:

Public Member Functions

virtual IEnumerator Shake (float duration)
 

Public Attributes

float Amplitude
 
float Frequency
 
bool Shaking = false
 

Protected Member Functions

virtual void Start ()
 
virtual void Update ()
 

Protected Attributes

Vector3 _initialPosition
 
Vector3 _shakePosition
 
RectTransform _rectTransform
 

Member Function Documentation

◆ Shake()

virtual IEnumerator Lofelt.NiceVibrations.MMUIShaker.Shake ( float  duration)
virtual

◆ Start()

virtual void Lofelt.NiceVibrations.MMUIShaker.Start ( )
protectedvirtual

◆ Update()

virtual void Lofelt.NiceVibrations.MMUIShaker.Update ( )
protectedvirtual

Member Data Documentation

◆ _initialPosition

Vector3 Lofelt.NiceVibrations.MMUIShaker._initialPosition
protected

◆ _rectTransform

RectTransform Lofelt.NiceVibrations.MMUIShaker._rectTransform
protected

◆ _shakePosition

Vector3 Lofelt.NiceVibrations.MMUIShaker._shakePosition
protected

◆ Amplitude

float Lofelt.NiceVibrations.MMUIShaker.Amplitude

◆ Frequency

float Lofelt.NiceVibrations.MMUIShaker.Frequency

◆ Shaking

bool Lofelt.NiceVibrations.MMUIShaker.Shaking = false

The documentation for this class was generated from the following file: