C# Class UnityPlatformer.CharacterActionLiquidMovement

Movement while below water surface (buoyancy) TODO slopeAccelerationFactor/slopeDeccelerationFactor
Inheritance: CharacterAction
Afficher le fichier Open project: llafuente/unity-platformer

Méthodes publiques

Свойство Type Description
liquidMinHeight float
terminalYDown float
terminalYUP float

Méthodes publiques

Méthode Description
GetPostUpdateActions ( ) : PostUpdateActions
OnEnable ( ) : void
OnEnterState ( States before, States after ) : void
PerformAction ( float delta ) : void
WantsToUpdate ( float delta ) : int

Execute when collision below.

Method Details

GetPostUpdateActions() public méthode

public GetPostUpdateActions ( ) : PostUpdateActions
Résultat PostUpdateActions

OnEnable() public méthode

public OnEnable ( ) : void
Résultat void

OnEnterState() public méthode

public OnEnterState ( States before, States after ) : void
before States
after States
Résultat void

PerformAction() public méthode

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

WantsToUpdate() public méthode

Execute when collision below.
public WantsToUpdate ( float delta ) : int
delta float
Résultat int

Property Details

liquidMinHeight public_oe property

Ignore liquids under liquidMinHeight
public float liquidMinHeight
Résultat float

terminalYDown public_oe property

Terminal velocity going down
public float terminalYDown
Résultat float

terminalYUP public_oe property

Terminal velocity going up
public float terminalYUP
Résultat float