C# 클래스 UnityPlatformer.JumpConstant

Math behind the Jump
상속: Jump
파일 보기 프로젝트 열기: llafuente/unity-platformer 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
initialVelocity Vector2

공개 메소드들

메소드 설명
EndJump ( Vector3 &velocity ) : void
IsBeforeApex ( ) : bool
IsHanging ( ) : bool
JumpConstant ( Character _character, JumpConstantProperties jp ) : System

Constructor

JumpConstant ( Character _character, Vector2 _initialVelocity ) : System

Constructor

Jumping ( Vector3 &velocity, float delta ) : bool
StartJump ( Vector3 &velocity ) : void

메소드 상세

EndJump() 공개 메소드

public EndJump ( Vector3 &velocity ) : void
velocity Vector3
리턴 void

IsBeforeApex() 공개 메소드

public IsBeforeApex ( ) : bool
리턴 bool

IsHanging() 공개 메소드

public IsHanging ( ) : bool
리턴 bool

JumpConstant() 공개 메소드

Constructor
public JumpConstant ( Character _character, JumpConstantProperties jp ) : System
_character Character
jp JumpConstantProperties
리턴 System

JumpConstant() 공개 메소드

Constructor
public JumpConstant ( Character _character, Vector2 _initialVelocity ) : System
_character Character
_initialVelocity Vector2
리턴 System

Jumping() 공개 메소드

public Jumping ( Vector3 &velocity, float delta ) : bool
velocity Vector3
delta float
리턴 bool

StartJump() 공개 메소드

public StartJump ( Vector3 &velocity ) : void
velocity Vector3
리턴 void

프로퍼티 상세

initialVelocity 공개적으로 프로퍼티

Initial velocity
public Vector2 initialVelocity
리턴 Vector2