C# 클래스 PlayerCtl, playable_alpha2

상속: MonoBehaviour
파일 보기 프로젝트 열기: kvakvs/playable_alpha2 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
guiInventory GuiInventory,
inventory Inventory,
isGrounded bool

공개 메소드들

메소드 설명
Dig ( Vector3 p ) : void
GetDistanceToWall ( Vector3 pos, float moveX, float bodyDistances ) : void
Start ( ) : void
Update ( ) : void

비공개 메소드들

메소드 설명
CastRay ( Vector2 origin, Vector2 direction ) : RaycastHit2D
CheckCeiling ( Vector3 pos ) : Vector3
CheckFloorAndFall ( Vector3 pos ) : Vector3
CheckWallsAndSteps ( Vector3 pos, float moveX ) : Vector3
GetDistanceToCeiling ( ) : float
GetDistanceToFloor ( Vector3 pos ) : float
GetY_Chest ( Vector3 pos ) : float
GetY_Feet ( Vector3 pos ) : float
GetY_Neck ( Vector3 pos ) : float
GetY_OverHead ( Vector3 pos ) : float
TryWalk ( Vector3 pos, float moveX, bool stepUp ) : Vector3

메소드 상세

Dig() 공개 메소드

public Dig ( Vector3 p ) : void
p Vector3
리턴 void

GetDistanceToWall() 공개 메소드

public GetDistanceToWall ( Vector3 pos, float moveX, float bodyDistances ) : void
pos Vector3
moveX float
bodyDistances float
리턴 void

Start() 공개 메소드

public Start ( ) : void
리턴 void

Update() 공개 메소드

public Update ( ) : void
리턴 void

프로퍼티 상세

guiInventory 공개적으로 프로퍼티

public GuiInventory, guiInventory
리턴 GuiInventory,

inventory 공개적으로 프로퍼티

public Inventory, inventory
리턴 Inventory,

isGrounded 공개적으로 프로퍼티

public bool isGrounded
리턴 bool