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

Public Member Functions

virtual void UpdateContinuousAmplitude (float newAmplitude)
 
virtual void UpdateContinuousFrequency (float newFrequency)
 
virtual void UpdateContinuousDuration (float newDuration)
 
virtual void ContinuousHapticsButton ()
 

Public Attributes

float ContinuousAmplitude = 1f
 
float ContinuousFrequency = 1f
 
float ContinuousDuration = 3f
 
Text ContinuousAmplitudeText
 
Text ContinuousFrequencyText
 
Text ContinuousDurationText
 
Text ContinuousButtonText
 
MMTouchButton ContinuousButton
 
MMProgressBar AmplitudeProgressBar
 
MMProgressBar FrequencyProgressBar
 
MMProgressBar DurationProgressBar
 
MMProgressBar ContinuousProgressBar
 
HapticCurve TargetCurve
 
Slider DurationSlider
 
- Public Attributes inherited from Lofelt.NiceVibrations.DemoManager
AudioSource DebugAudioEmphasis
 
AudioSource DebugAudioContinuous
 
MMUIShaker Logo
 

Protected Member Functions

virtual void Awake ()
 
virtual void Update ()
 
virtual void UpdateContinuousDemo ()
 
virtual void UpdateContinuous ()
 
virtual void OnHapticsStopped ()
 
virtual void ResetPlayState ()
 
virtual void OnEnable ()
 
virtual void OnDisable ()
 

Protected Attributes

float _timeLeft
 
Color _continuousButtonOnColor = new Color32(216, 85, 85, 255)
 
Color _continuousButtonOffColor = new Color32(242, 27, 80, 255)
 
bool _continuousActive = false
 
float _amplitudeLastFrame = -1f
 
float _frequencyLastFrame = -1f
 

Member Function Documentation

◆ Awake()

virtual void Lofelt.NiceVibrations.ContinuousHapticsDemoManager.Awake ( )
protectedvirtual

◆ ContinuousHapticsButton()

virtual void Lofelt.NiceVibrations.ContinuousHapticsDemoManager.ContinuousHapticsButton ( )
virtual

◆ OnDisable()

virtual void Lofelt.NiceVibrations.ContinuousHapticsDemoManager.OnDisable ( )
protectedvirtual

◆ OnEnable()

virtual void Lofelt.NiceVibrations.ContinuousHapticsDemoManager.OnEnable ( )
protectedvirtual

◆ OnHapticsStopped()

virtual void Lofelt.NiceVibrations.ContinuousHapticsDemoManager.OnHapticsStopped ( )
protectedvirtual

◆ ResetPlayState()

virtual void Lofelt.NiceVibrations.ContinuousHapticsDemoManager.ResetPlayState ( )
protectedvirtual

◆ Update()

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

◆ UpdateContinuous()

virtual void Lofelt.NiceVibrations.ContinuousHapticsDemoManager.UpdateContinuous ( )
protectedvirtual

◆ UpdateContinuousAmplitude()

virtual void Lofelt.NiceVibrations.ContinuousHapticsDemoManager.UpdateContinuousAmplitude ( float  newAmplitude)
virtual

◆ UpdateContinuousDemo()

virtual void Lofelt.NiceVibrations.ContinuousHapticsDemoManager.UpdateContinuousDemo ( )
protectedvirtual

◆ UpdateContinuousDuration()

virtual void Lofelt.NiceVibrations.ContinuousHapticsDemoManager.UpdateContinuousDuration ( float  newDuration)
virtual

◆ UpdateContinuousFrequency()

virtual void Lofelt.NiceVibrations.ContinuousHapticsDemoManager.UpdateContinuousFrequency ( float  newFrequency)
virtual

Member Data Documentation

◆ _amplitudeLastFrame

float Lofelt.NiceVibrations.ContinuousHapticsDemoManager._amplitudeLastFrame = -1f
protected

◆ _continuousActive

bool Lofelt.NiceVibrations.ContinuousHapticsDemoManager._continuousActive = false
protected

◆ _continuousButtonOffColor

Color Lofelt.NiceVibrations.ContinuousHapticsDemoManager._continuousButtonOffColor = new Color32(242, 27, 80, 255)
protected

◆ _continuousButtonOnColor

Color Lofelt.NiceVibrations.ContinuousHapticsDemoManager._continuousButtonOnColor = new Color32(216, 85, 85, 255)
protected

◆ _frequencyLastFrame

float Lofelt.NiceVibrations.ContinuousHapticsDemoManager._frequencyLastFrame = -1f
protected

◆ _timeLeft

float Lofelt.NiceVibrations.ContinuousHapticsDemoManager._timeLeft
protected

◆ AmplitudeProgressBar

MMProgressBar Lofelt.NiceVibrations.ContinuousHapticsDemoManager.AmplitudeProgressBar

◆ ContinuousAmplitude

float Lofelt.NiceVibrations.ContinuousHapticsDemoManager.ContinuousAmplitude = 1f

◆ ContinuousAmplitudeText

Text Lofelt.NiceVibrations.ContinuousHapticsDemoManager.ContinuousAmplitudeText

◆ ContinuousButton

MMTouchButton Lofelt.NiceVibrations.ContinuousHapticsDemoManager.ContinuousButton

◆ ContinuousButtonText

Text Lofelt.NiceVibrations.ContinuousHapticsDemoManager.ContinuousButtonText

◆ ContinuousDuration

float Lofelt.NiceVibrations.ContinuousHapticsDemoManager.ContinuousDuration = 3f

◆ ContinuousDurationText

Text Lofelt.NiceVibrations.ContinuousHapticsDemoManager.ContinuousDurationText

◆ ContinuousFrequency

float Lofelt.NiceVibrations.ContinuousHapticsDemoManager.ContinuousFrequency = 1f

◆ ContinuousFrequencyText

Text Lofelt.NiceVibrations.ContinuousHapticsDemoManager.ContinuousFrequencyText

◆ ContinuousProgressBar

MMProgressBar Lofelt.NiceVibrations.ContinuousHapticsDemoManager.ContinuousProgressBar

◆ DurationProgressBar

MMProgressBar Lofelt.NiceVibrations.ContinuousHapticsDemoManager.DurationProgressBar

◆ DurationSlider

Slider Lofelt.NiceVibrations.ContinuousHapticsDemoManager.DurationSlider

◆ FrequencyProgressBar

MMProgressBar Lofelt.NiceVibrations.ContinuousHapticsDemoManager.FrequencyProgressBar

◆ TargetCurve

HapticCurve Lofelt.NiceVibrations.ContinuousHapticsDemoManager.TargetCurve

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