C# 클래스 CharacterMovement, unity-unet-authoritative-networking

상속: NetworkBehaviour
파일 보기 프로젝트 열기: atrakeur/unity-unet-authoritative-networking 1 사용 예제들

공개 메소드들

메소드 설명
Awake ( ) : void
RunUpdate ( float delta ) : void

Run update like classic unity's Update We use an other method here because the calling must be controlled by CharacterNetwork We can't use standard Update method because Unity update order is non-deterministic

SuperUpdate ( ) : void

Called by the controller when wanting to update custom code data

비공개 메소드들

메소드 설명
AcquiringGround ( ) : bool
CalculateJumpVelocity ( ) : float
LocalMovement ( ) : Vector3

Constructs a vector representing our movement local to our lookDirection, which is controlled by the camera

MaintainingGround ( ) : bool

메소드 상세

Awake() 공개 메소드

public Awake ( ) : void
리턴 void

RunUpdate() 공개 메소드

Run update like classic unity's Update We use an other method here because the calling must be controlled by CharacterNetwork We can't use standard Update method because Unity update order is non-deterministic
public RunUpdate ( float delta ) : void
delta float
리턴 void

SuperUpdate() 공개 메소드

Called by the controller when wanting to update custom code data
public SuperUpdate ( ) : void
리턴 void