C# 클래스 MovementState, ex-unity-old-deprecated

상속: BaseState
파일 보기 프로젝트 열기: exdev/ex-unity-old-deprecated 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
applyGravity bool
layerMaskName string
moveSlowDownDistance float
rotateDamping float
smoothPathFinding bool
speedDamping float

보호된 프로퍼티들

프로퍼티 타입 설명
actor Actor
charCtrl CharacterController
curPathIdx int
layerMasks int
moveDir Vector3
moveSpeed float
path Vector3[]
velocity Vector3

공개 메소드들

메소드 설명
CheckCapsule ( float _height, float _raidus ) : bool
FaceTo ( Vector3 _dir ) : bool
GetMoveDir ( ) : Vector3
GetMoveSpeed ( ) : float
GetVelocity ( ) : Vector3
Init ( Actor, _actor ) : void
MoveTo ( Vector3 _pos ) : void
MoveTowards ( Vector3 _dir ) : void
Step ( ) : void
Stop ( ) : void

메소드 상세

CheckCapsule() 공개 메소드

public CheckCapsule ( float _height, float _raidus ) : bool
_height float
_raidus float
리턴 bool

FaceTo() 공개 메소드

public FaceTo ( Vector3 _dir ) : bool
_dir Vector3
리턴 bool

GetMoveDir() 공개 메소드

public GetMoveDir ( ) : Vector3
리턴 Vector3

GetMoveSpeed() 공개 메소드

public GetMoveSpeed ( ) : float
리턴 float

GetVelocity() 공개 메소드

public GetVelocity ( ) : Vector3
리턴 Vector3

Init() 공개 메소드

public Init ( Actor, _actor ) : void
_actor Actor,
리턴 void

MoveTo() 공개 메소드

public MoveTo ( Vector3 _pos ) : void
_pos Vector3
리턴 void

MoveTowards() 공개 메소드

public MoveTowards ( Vector3 _dir ) : void
_dir Vector3
리턴 void

Step() 공개 메소드

public Step ( ) : void
리턴 void

Stop() 공개 메소드

public Stop ( ) : void
리턴 void

프로퍼티 상세

actor 보호되어 있는 프로퍼티

protected Actor actor
리턴 Actor

applyGravity 공개적으로 프로퍼티

public bool applyGravity
리턴 bool

charCtrl 보호되어 있는 프로퍼티

protected CharacterController charCtrl
리턴 CharacterController

curPathIdx 보호되어 있는 프로퍼티

protected int curPathIdx
리턴 int

layerMaskName 공개적으로 프로퍼티

public string layerMaskName
리턴 string

layerMasks 보호되어 있는 프로퍼티

protected int layerMasks
리턴 int

moveDir 보호되어 있는 프로퍼티

protected Vector3 moveDir
리턴 Vector3

moveSlowDownDistance 공개적으로 프로퍼티

public float moveSlowDownDistance
리턴 float

moveSpeed 보호되어 있는 프로퍼티

protected float moveSpeed
리턴 float

path 보호되어 있는 프로퍼티

protected Vector3[] path
리턴 Vector3[]

rotateDamping 공개적으로 프로퍼티

public float rotateDamping
리턴 float

smoothPathFinding 공개적으로 프로퍼티

public bool smoothPathFinding
리턴 bool

speedDamping 공개적으로 프로퍼티

public float speedDamping
리턴 float

velocity 보호되어 있는 프로퍼티

protected Vector3 velocity
리턴 Vector3