Feel  3.16
The best way to improve your game's feel and make it extra juicy
MoreMountains.Feel.Wheel Class Reference
Inheritance diagram for MoreMountains.Feel.Wheel:

Public Attributes

Transform RotatingPart
 the part of the wheel that rotates More...
 
float RotationSpeed = 20f
 the speed at which the wheel should rotate More...
 
MMFeedbacks TurnFeedback
 a feedback to call when the wheel starts turning More...
 
MMFeedbacks TurnStopFeedback
 a feedback to call when the wheel stops turning More...
 

Protected Member Functions

virtual void Update ()
 On Update we look for input More...
 
virtual void HandleInput ()
 Detects input More...
 
virtual void HandleWheel ()
 Every frame, rotates the wheel if needed More...
 
virtual void Turn ()
 Makes the wheel turn, plays a feedback if it's just starting to turn this frame More...
 
virtual void TurnStop ()
 Stops the wheel from turning More...
 

Protected Attributes

bool _turning
 

Member Function Documentation

◆ HandleInput()

virtual void MoreMountains.Feel.Wheel.HandleInput ( )
protectedvirtual

Detects input

◆ HandleWheel()

virtual void MoreMountains.Feel.Wheel.HandleWheel ( )
protectedvirtual

Every frame, rotates the wheel if needed

◆ Turn()

virtual void MoreMountains.Feel.Wheel.Turn ( )
protectedvirtual

Makes the wheel turn, plays a feedback if it's just starting to turn this frame

◆ TurnStop()

virtual void MoreMountains.Feel.Wheel.TurnStop ( )
protectedvirtual

Stops the wheel from turning

◆ Update()

virtual void MoreMountains.Feel.Wheel.Update ( )
protectedvirtual

On Update we look for input

Member Data Documentation

◆ _turning

bool MoreMountains.Feel.Wheel._turning
protected

◆ RotatingPart

Transform MoreMountains.Feel.Wheel.RotatingPart

the part of the wheel that rotates

◆ RotationSpeed

float MoreMountains.Feel.Wheel.RotationSpeed = 20f

the speed at which the wheel should rotate

◆ TurnFeedback

MMFeedbacks MoreMountains.Feel.Wheel.TurnFeedback

a feedback to call when the wheel starts turning

◆ TurnStopFeedback

MMFeedbacks MoreMountains.Feel.Wheel.TurnStopFeedback

a feedback to call when the wheel stops turning


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