C# 클래스 ThirdPersonController, unity-network-sample

상속: MonoBehaviour
파일 보기 프로젝트 열기: anchan828/unity-network-sample 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
canCapeFly bool
canJump bool
canWallJump bool
capeFlyGravity float
extraJumpHeight float
getUserInput bool
gravity float
horizontalInput float
inAirControlAcceleration float
isMoving bool
jumpButton bool
jumpHeight float
rotateSpeed float
runSpeed float
speedSmoothing float
trotAfterSeconds float
trotSpeed float
verticalInput float
walkSpeed float

공개 메소드들

메소드 설명
ApplyGravity ( ) : void
ApplyJumping ( ) : void
ApplyWallJump ( ) : void
Awake ( ) : void
DidJump ( ) : void
GetDirection ( ) : Vector3
GetLean ( ) : float
GetLockCameraTimer ( ) : float
GetSpeed ( ) : float
HasJumpReachedApex ( ) : bool
IsCapeFlying ( ) : bool
IsGrounded ( ) : bool
IsGroundedWithTimeout ( ) : bool
IsJumping ( ) : bool
IsMovingBackwards ( ) : bool
OnControllerColliderHit ( ControllerColliderHit hit ) : void
Reset ( ) : void
SuperJump ( float height ) : void
SuperJump ( float height, Vector3 jumpVelocity ) : void
Update ( ) : void
UpdateSmoothedMovementDirection ( ) : void

비공개 메소드들

메소드 설명
CalculateJumpVerticalSpeed ( float targetJumpHeight ) : float

메소드 상세

ApplyGravity() 공개 메소드

public ApplyGravity ( ) : void
리턴 void

ApplyJumping() 공개 메소드

public ApplyJumping ( ) : void
리턴 void

ApplyWallJump() 공개 메소드

public ApplyWallJump ( ) : void
리턴 void

Awake() 공개 메소드

public Awake ( ) : void
리턴 void

DidJump() 공개 메소드

public DidJump ( ) : void
리턴 void

GetDirection() 공개 메소드

public GetDirection ( ) : Vector3
리턴 Vector3

GetLean() 공개 메소드

public GetLean ( ) : float
리턴 float

GetLockCameraTimer() 공개 메소드

public GetLockCameraTimer ( ) : float
리턴 float

GetSpeed() 공개 메소드

public GetSpeed ( ) : float
리턴 float

HasJumpReachedApex() 공개 메소드

public HasJumpReachedApex ( ) : bool
리턴 bool

IsCapeFlying() 공개 메소드

public IsCapeFlying ( ) : bool
리턴 bool

IsGrounded() 공개 메소드

public IsGrounded ( ) : bool
리턴 bool

IsGroundedWithTimeout() 공개 메소드

public IsGroundedWithTimeout ( ) : bool
리턴 bool

IsJumping() 공개 메소드

public IsJumping ( ) : bool
리턴 bool

IsMovingBackwards() 공개 메소드

public IsMovingBackwards ( ) : bool
리턴 bool

OnControllerColliderHit() 공개 메소드

public OnControllerColliderHit ( ControllerColliderHit hit ) : void
hit UnityEngine.ControllerColliderHit
리턴 void

Reset() 공개 메소드

public Reset ( ) : void
리턴 void

SuperJump() 공개 메소드

public SuperJump ( float height ) : void
height float
리턴 void

SuperJump() 공개 메소드

public SuperJump ( float height, Vector3 jumpVelocity ) : void
height float
jumpVelocity Vector3
리턴 void

Update() 공개 메소드

public Update ( ) : void
리턴 void

UpdateSmoothedMovementDirection() 공개 메소드

public UpdateSmoothedMovementDirection ( ) : void
리턴 void

프로퍼티 상세

canCapeFly 공개적으로 프로퍼티

public bool canCapeFly
리턴 bool

canJump 공개적으로 프로퍼티

public bool canJump
리턴 bool

canWallJump 공개적으로 프로퍼티

public bool canWallJump
리턴 bool

capeFlyGravity 공개적으로 프로퍼티

public float capeFlyGravity
리턴 float

extraJumpHeight 공개적으로 프로퍼티

public float extraJumpHeight
리턴 float

getUserInput 공개적으로 프로퍼티

public bool getUserInput
리턴 bool

gravity 공개적으로 프로퍼티

public float gravity
리턴 float

horizontalInput 공개적으로 프로퍼티

public float horizontalInput
리턴 float

inAirControlAcceleration 공개적으로 프로퍼티

public float inAirControlAcceleration
리턴 float

isMoving 공개적으로 프로퍼티

public bool isMoving
리턴 bool

jumpButton 공개적으로 프로퍼티

public bool jumpButton
리턴 bool

jumpHeight 공개적으로 프로퍼티

public float jumpHeight
리턴 float

rotateSpeed 공개적으로 프로퍼티

public float rotateSpeed
리턴 float

runSpeed 공개적으로 프로퍼티

public float runSpeed
리턴 float

speedSmoothing 공개적으로 프로퍼티

public float speedSmoothing
리턴 float

trotAfterSeconds 공개적으로 프로퍼티

public float trotAfterSeconds
리턴 float

trotSpeed 공개적으로 프로퍼티

public float trotSpeed
리턴 float

verticalInput 공개적으로 프로퍼티

public float verticalInput
리턴 float

walkSpeed 공개적으로 프로퍼티

public float walkSpeed
리턴 float