C# Class UnityPlatformer.CharacterActionCrounch

Crounch
Inheritance: CharacterAction
Mostrar archivo Open project: llafuente/unity-platformer

Public Methods

Method Description
GetPostUpdateActions ( ) : PostUpdateActions
OnActionDown ( string _action ) : void

input.onActionDown

OnActionUp ( string _action ) : void

input.onActionUp

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

crounch if onground and no ladder below

Method Details

GetPostUpdateActions() public method

public GetPostUpdateActions ( ) : PostUpdateActions
return PostUpdateActions

OnActionDown() public method

input.onActionDown
public OnActionDown ( string _action ) : void
_action string
return void

OnActionUp() public method

input.onActionUp
public OnActionUp ( string _action ) : void
_action string
return void

OnEnable() public method

public OnEnable ( ) : void
return void

PerformAction() public method

public PerformAction ( float delta ) : void
delta float
return void

WantsToUpdate() public method

crounch if onground and no ladder below
public WantsToUpdate ( float delta ) : int
delta float
return int