◆ HandleInput()
virtual void MoreMountains.Feel.Wheel.HandleInput |
( |
| ) |
|
|
protectedvirtual |
◆ 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
◆ _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
a feedback to call when the wheel starts turning
◆ TurnStopFeedback
a feedback to call when the wheel stops turning
The documentation for this class was generated from the following file:
- F:/Github/Store/Feel/Assets/Feel/FeelDemos/Wheel/Scripts/Wheel.cs