C# 클래스 UnityPlatformer.Jump

Abstract class for Jumping logic.
파일 보기 프로젝트 열기: llafuente/unity-platformer 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
character Character
ticks int

공개 메소드들

메소드 설명
EndJump ( Vector3 &velocity ) : void

Set final velocity

IsBeforeApex ( ) : bool

Did apex reached?

IsHanging ( ) : bool

Did apex reached?

Jumping ( Vector3 &velocity, float delta ) : bool

Set velocity while jumping

Reset ( ) : void

Reset jump data for next jump

StartJump ( Vector3 &velocity ) : void

Set initial velocity

메소드 상세

EndJump() 공개 추상적인 메소드

Set final velocity
public abstract EndJump ( Vector3 &velocity ) : void
velocity Vector3
리턴 void

IsBeforeApex() 공개 추상적인 메소드

Did apex reached?
public abstract IsBeforeApex ( ) : bool
리턴 bool

IsHanging() 공개 추상적인 메소드

Did apex reached?
public abstract IsHanging ( ) : bool
리턴 bool

Jumping() 공개 메소드

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

Reset() 공개 메소드

Reset jump data for next jump
public Reset ( ) : void
리턴 void

StartJump() 공개 추상적인 메소드

Set initial velocity
public abstract StartJump ( Vector3 &velocity ) : void
velocity Vector3
리턴 void

프로퍼티 상세

character 공개적으로 프로퍼티

Target Character
public Character character
리턴 Character

ticks 공개적으로 프로퍼티

Ticks since jump start
public int ticks
리턴 int