DrainStamina MotionGraphBehaviour
Overview
The DrainStamina behaviour applies a constant stamina drain to a StaminaSystem attached to the character.
Inspector

Properties
| Name | Type | Description |
|---|---|---|
| Drain Rate | Float | The rate to drain the stamina at (bear in mind the stamina system also refreshes at a certain rate too, so these can cancel out). |
| Scale By Input | Boolean | Should the controller's move input scale also scale the stamina drain. |
| Limit Drain | Boolean | Is there a lower limit that the behaviour will drain stamina to before the drain rate falls off. The following properties will be exposed if this is true. |
| Drain Target | Float | The minimum level that the behaviour can drain stamina to. |
| Drain Falloff | Float | The stamina drain falls away to 0 as it approaches the target level, starting at this falloff value above it. |