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

movementFlagsThe 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.
isActiveWhether the movement ability is active. This may be different than the input state depending on the type of control.

Methods

OnAbilityActivatedA callback invoked when the ability is activated.
OnAbilityDeactivatedA callback invoked when the ability is deactivated.