Jump
Inherits from Zigurous.CharacterController.MovementAbility<T>
Declaration
public sealed class Jump : MovementAbility<JumpSettings>
Description
A movement ability that allows the character to gain height by jumping.
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. |
nextTimeAvailable | The time after which a consecutive jump can be performed (Read only). |
coyoteTimeExpiration | The time after which the "Coyote Time" expires (Read only). |
jumpsAvailable | The number of jumps the character has available. This value will reset when the character is grounded and the jump cooldown is finished (Read only). |
available | Whether a jump is available to be performed at the current time (Read only). |
Methods
OnAbilityActivated | A callback invoked when the ability is activated. |
OnAbilityDeactivated | A callback invoked when the ability is deactivated. |
CanAbilityBeActivated | Determines if the ability can be activated given the current state of the character. |
CanAbilityBeDeactivated | Determines if the ability can be deactivated given the current state of the character. |
CanTransitionToSelf | Determines if the ability can be activated if it is already active. |
OnCooldownFinished | A callback invoked when the ability cooldown is finished. |