A simple class used to pilot Feel's Blob demo character, who simply moves on a loop when its target key is pressed.
More...
|
| virtual void | Update () |
| | On Update we look for input.
|
| virtual void | HandleInput () |
| | Detects input.
|
| virtual void | Move () |
| | Performs a move if possible, otherwise plays a denied feedback.
|
A simple class used to pilot Feel's Blob demo character, who simply moves on a loop when its target key is pressed.
◆ HandleInput()
| virtual void MoreMountains.Feel.Blob.HandleInput |
( |
| ) |
|
|
protectedvirtual |
◆ Move()
| virtual void MoreMountains.Feel.Blob.Move |
( |
| ) |
|
|
protectedvirtual |
Performs a move if possible, otherwise plays a denied feedback.
◆ Update()
| virtual void MoreMountains.Feel.Blob.Update |
( |
| ) |
|
|
protectedvirtual |
On Update we look for input.
◆ _lastMoveStartedAt
| float MoreMountains.Feel.Blob._lastMoveStartedAt = -100f |
|
protected |
◆ CooldownDuration
| float MoreMountains.Feel.Blob.CooldownDuration = 1f |
a duration, in seconds, between two moves, during which moves are prevented
◆ DeniedFeedback
a feedback to call when trying to move while in cooldown
◆ MoveFeedback
a feedback to call when moving
The documentation for this class was generated from the following file:
- H:/Code/MoreMountains/feel/Assets/Feel/FeelDemos/Blob/Scripts/Blob.cs