C# Class UnityPlatformer.CharacterActionFence

Move in a fence. The character must be completely inside the fence to enter
Inheritance: CharacterAction
ファイルを表示 Open project: llafuente/unity-platformer

Public Properties

Property Type Description
dismountJumping bool

Protected Properties

Property Type Description
actionJump CharacterActionJump
grabHeld bool

Public Methods

Method Description
GainControl ( float delta ) : void

EnterState

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

input.onActionDown

OnActionUp ( string _action ) : void

input.onActionUp

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

Enter in fence mode when user is in a fence area and pressing up/down

Method Details

GainControl() public method

EnterState
public GainControl ( float delta ) : void
delta float
return void

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

Enter in fence mode when user is in a fence area and pressing up/down
public WantsToUpdate ( float delta ) : int
delta float
return int

Property Details

actionJump protected_oe property

CharacterActionJump
protected CharacterActionJump,UnityPlatformer actionJump
return CharacterActionJump

dismountJumping public_oe property

Allow dismount pressing jump
public bool dismountJumping
return bool

grabHeld protected_oe property

Is action held?
protected bool grabHeld
return bool