platformer
|
Abstract class for Jumping logic. More...
Public Member Functions | |
virtual void | Reset () |
Reset jump data for next jump More... | |
abstract void | StartJump (ref Vector3 velocity) |
Set initial velocity More... | |
abstract void | EndJump (ref Vector3 velocity) |
Set final velocity More... | |
abstract bool | IsBeforeApex () |
Did apex reached? More... | |
abstract bool | IsHanging () |
Did apex reached? More... | |
virtual bool | Jumping (ref Vector3 velocity, float delta) |
Set velocity while jumping More... | |
Public Attributes | |
Character | character |
Target Character More... | |
int | ticks |
Ticks since jump start More... | |
Abstract class for Jumping logic.
|
pure virtual |
Set final velocity
Implemented in UnityPlatformer.JumpVariableHeight, UnityPlatformer.JumpConstantSpring, and UnityPlatformer.JumpConstant.
|
pure virtual |
Did apex reached?
Implemented in UnityPlatformer.JumpVariableHeight, UnityPlatformer.JumpConstantSpring, and UnityPlatformer.JumpConstant.
|
pure virtual |
Did apex reached?
Implemented in UnityPlatformer.JumpVariableHeight, UnityPlatformer.JumpConstantSpring, and UnityPlatformer.JumpConstant.
|
inlinevirtual |
Set velocity while jumping
Reimplemented in UnityPlatformer.JumpVariableHeight, UnityPlatformer.JumpConstantSpring, and UnityPlatformer.JumpConstant.
|
inlinevirtual |
Reset jump data for next jump
|
pure virtual |
Set initial velocity
Implemented in UnityPlatformer.JumpVariableHeight, UnityPlatformer.JumpConstantSpring, and UnityPlatformer.JumpConstant.
int UnityPlatformer.Jump.ticks |
Ticks since jump start