Crouch
Inherits from Zigurous.CharacterController.MovementAbility<T>
Declaration
public sealed class Crouch : MovementAbility<CrouchSettings>
Description
A movement ability that reduces the character's height and movement speed while active.
Properties
movementFlags | The movement flag(s) associated with the ability. The flag(s) will be set when the ability is turned on and unset when the ability is turned off. |
isActive | Whether the movement ability is active. This may be different than the input state depending on the type of control. |
Methods
OnAbilityActivated | A callback invoked when the ability is activated. |
OnAbilityDeactivated | A callback invoked when the ability is deactivated. |