StaminaCost
Struct in Zigurous.CharacterController
Declaration
[Serializable]
public struct StaminaCostDescription
A cost to perform a stamina action.
Properties
| useAmount | The amount of stamina drained. | 
| requiredAmount | The minimum amount of stamina required to perform the action. | 
| percentage | Whether the stamina cost is a percentage or fixed value. | 
| timescaled | Whether the stamina cost is multiplied by Time.deltaTime. | 
Constructors
| StaminaCost | Creates a new stamina cost of the given amount. |