C# Class UnityPlatformer.CharacterActionGrab

Grab 'something' and freeze.
Inheritance: CharacterAction
Mostra file Open project: llafuente/unity-platformer

Public Properties

Property Type Description
dismountJumping bool
dismountPressingDown bool
grabAgainCooldown float

Public Methods

Method Description
GainControl ( float delta ) : void

EnterState and start centering

GetPostUpdateActions ( ) : PostUpdateActions
LoseControl ( float delta ) : void

ExitState and no centering

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

Method Details

GainControl() public method

EnterState and start centering
public GainControl ( float delta ) : void
delta float
return void

GetPostUpdateActions() public method

public GetPostUpdateActions ( ) : PostUpdateActions
return PostUpdateActions

LoseControl() public method

ExitState and no centering
public LoseControl ( float delta ) : void
delta float
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

public WantsToUpdate ( float delta ) : int
delta float
return int

Property Details

dismountJumping public_oe property

Dismount 'Grab' jumping
public bool dismountJumping
return bool

dismountPressingDown public_oe property

Dismount 'Grab' pressing down axis
public bool dismountPressingDown
return bool

grabAgainCooldown public_oe property

Time after dismount before being able to grab again.
public float grabAgainCooldown
return float