C# Class UnityPlatformer.CharacterActionWallStick

Stick at walls. Also perform wall-jumps
Inheritance: CharacterAction
Afficher le fichier Open project: llafuente/unity-platformer

Méthodes publiques

Свойство Type Description
actionJump CharacterActionJump
enableWallJumps bool
wallStickLeaveAgain float

Méthodes publiques

Méthode Description
GainControl ( float delta ) : void

Reset SmoothDamp and enter state States.WallSliding

GetPostUpdateActions ( ) : PostUpdateActions

default behaviour

OnEnable ( ) : void

Initialization

PerformAction ( float delta ) : void

Stick, then slide down. Can dismount jumping if enableWallJumps

WantsToUpdate ( float delta ) : int

When Character is colliding left or right but now below and falling! Stick!

Method Details

GainControl() public méthode

Reset SmoothDamp and enter state States.WallSliding
public GainControl ( float delta ) : void
delta float
Résultat void

GetPostUpdateActions() public méthode

default behaviour
public GetPostUpdateActions ( ) : PostUpdateActions
Résultat PostUpdateActions

OnEnable() public méthode

Initialization
public OnEnable ( ) : void
Résultat void

PerformAction() public méthode

Stick, then slide down. Can dismount jumping if enableWallJumps
public PerformAction ( float delta ) : void
delta float
Résultat void

WantsToUpdate() public méthode

When Character is colliding left or right but now below and falling! Stick!
public WantsToUpdate ( float delta ) : int
delta float
Résultat int

Property Details

actionJump public_oe property

CharacterActionJump
public CharacterActionJump,UnityPlatformer actionJump
Résultat CharacterActionJump

enableWallJumps public_oe property

Character can use wall-jumps ?
public bool enableWallJumps
Résultat bool

wallStickLeaveAgain public_oe property

After wall-jump, time that CharacterActionWallStick will be disabled
public float wallStickLeaveAgain
Résultat float