A class used to handle the characters in Feel's Tactical demo scene, detects input, shoots while a button is pressed, stops shooting when released, handles reload.
More...
|
| virtual void | Update () |
| | On Update we look for input.
|
| virtual void | HandleInput () |
| | Detects input.
|
| virtual void | Shoot () |
| | Shoots if possible.
|
| virtual void | ShootStop () |
| | Stops shooting.
|
A class used to handle the characters in Feel's Tactical demo scene, detects input, shoots while a button is pressed, stops shooting when released, handles reload.
◆ HandleInput()
| virtual void MoreMountains.Feel.Tactical.HandleInput |
( |
| ) |
|
|
protectedvirtual |
◆ Shoot()
| virtual void MoreMountains.Feel.Tactical.Shoot |
( |
| ) |
|
|
protectedvirtual |
◆ ShootStop()
| virtual void MoreMountains.Feel.Tactical.ShootStop |
( |
| ) |
|
|
protectedvirtual |
◆ Update()
| virtual void MoreMountains.Feel.Tactical.Update |
( |
| ) |
|
|
protectedvirtual |
On Update we look for input.
◆ _lastJumpStartedAt
| float MoreMountains.Feel.Tactical._lastJumpStartedAt = -100f |
|
protected |
◆ _magazine
| int MoreMountains.Feel.Tactical._magazine = 15 |
|
protected |
◆ CooldownDuration
| float MoreMountains.Feel.Tactical.CooldownDuration = 0.1f |
a duration, in seconds, between two shots, during which shots are prevented
◆ ImpactPosition
| Transform MoreMountains.Feel.Tactical.ImpactPosition |
the position of the shot's impact
◆ ReloadFeedback
a feedback to call when a reload happens
◆ ShootFeedback
a feedback to call when shooting
◆ ShootStopFeedback
| MMFeedbacks MoreMountains.Feel.Tactical.ShootStopFeedback |
a feedback to call when shooting stops
The documentation for this class was generated from the following file:
- H:/Code/MoreMountains/feel/Assets/Feel/FeelDemos/Tactical/Scripts/Tactical.cs