C# Class UnityPlatformer.CharacterActionJump

Jump while on ground. The rest jumps, are managed here, but using jump properties/type elsewhere, just by calling Jump() / ForceJump()\n NOTE unity-platformer support multiple types of jumps. We just ship one type here, be free to extend!\n NOTE executionOrder should be -20\n TODO force one jump per press, force to release before another jump\n
Inheritance: CharacterAction
Afficher le fichier Open project: llafuente/unity-platformer Class Usage Examples

Méthodes publiques

Свойство Type Description
jumpProperties JumpVariableHeightProperties

Méthodes publiques

Méthode Description
ForceJump ( Jump j ) : void

Force Character to Jump! User must be sure of what they are doing... this doesn't check anything

GetPostUpdateActions ( ) : PostUpdateActions
Jump ( Jump j ) : void

Try to jump

OnActionDown ( string _action ) : void

input.onActionDown callback

OnActionUp ( string _action ) : void

input.onActionUp callback

OnEnable ( ) : void
PerformAction ( float delta ) : void
WantsToUpdate ( float delta ) : int

Listen input and Select the current Jump Other actions (with higher priority) can trigger Jumps using Jump(), and the next Frame CharacterActionJump willl take control!

Method Details

ForceJump() public méthode

Force Character to Jump! User must be sure of what they are doing... this doesn't check anything
public ForceJump ( Jump j ) : void
j Jump
Résultat void

GetPostUpdateActions() public méthode

public GetPostUpdateActions ( ) : PostUpdateActions
Résultat PostUpdateActions

Jump() public méthode

Try to jump
public Jump ( Jump j ) : void
j Jump
Résultat void

OnActionDown() public méthode

input.onActionDown callback
public OnActionDown ( string _action ) : void
_action string
Résultat void

OnActionUp() public méthode

input.onActionUp callback
public OnActionUp ( string _action ) : void
_action string
Résultat void

OnEnable() public méthode

public OnEnable ( ) : void
Résultat void

PerformAction() public méthode

public PerformAction ( float delta ) : void
delta float
Résultat void

WantsToUpdate() public méthode

Listen input and Select the current Jump Other actions (with higher priority) can trigger Jumps using Jump(), and the next Frame CharacterActionJump willl take control!
public WantsToUpdate ( float delta ) : int
delta float
Résultat int

Property Details

jumpProperties public_oe property

Jump Properties
public JumpVariableHeightProperties,UnityPlatformer jumpProperties
Résultat JumpVariableHeightProperties