C# 클래스 AstarAIFollow, astrochimps

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

공개 프로퍼티들

프로퍼티 타입 설명
bnIsMoving bool
canMove bool
canSearch bool
drawGizmos bool
pickNextWaypointDistance float
repathRate float
speed float
targetReached float

보호된 프로퍼티들

프로퍼티 타입 설명
col Collider
controller CharacterController
lastPathSearch float
path Vector3[]
pathIndex int
seeker Seeker,
tr Transform

공개 메소드들

메소드 설명
Awake ( ) : void
ClickedTargetPosition ( Vector3 newTargetPosition ) : void

Change the target when the player clicks

OnDrawGizmos ( ) : void
OnPathComplete ( Path p ) : void
PathToTarget ( Vector3 targetPoint ) : void
ReachedEndOfPath ( ) : void
Repath ( ) : void
Resume ( ) : void
Stop ( ) : void
Update ( ) : void
WaitToRepath ( ) : IEnumerator

메소드 상세

Awake() 공개 메소드

public Awake ( ) : void
리턴 void

ClickedTargetPosition() 공개 메소드

Change the target when the player clicks
public ClickedTargetPosition ( Vector3 newTargetPosition ) : void
newTargetPosition Vector3
리턴 void

OnDrawGizmos() 공개 메소드

public OnDrawGizmos ( ) : void
리턴 void

OnPathComplete() 공개 메소드

public OnPathComplete ( Path p ) : void
p Path
리턴 void

PathToTarget() 공개 메소드

public PathToTarget ( Vector3 targetPoint ) : void
targetPoint Vector3
리턴 void

ReachedEndOfPath() 공개 메소드

public ReachedEndOfPath ( ) : void
리턴 void

Repath() 공개 메소드

public Repath ( ) : void
리턴 void

Resume() 공개 메소드

public Resume ( ) : void
리턴 void

Stop() 공개 메소드

public Stop ( ) : void
리턴 void

Update() 공개 메소드

public Update ( ) : void
리턴 void

WaitToRepath() 공개 메소드

public WaitToRepath ( ) : IEnumerator
리턴 IEnumerator

프로퍼티 상세

bnIsMoving 공개적으로 프로퍼티

public bool bnIsMoving
리턴 bool

canMove 공개적으로 프로퍼티

public bool canMove
리턴 bool

canSearch 공개적으로 프로퍼티

public bool canSearch
리턴 bool

col 보호되어 있는 프로퍼티

protected Collider col
리턴 Collider

controller 보호되어 있는 프로퍼티

protected CharacterController controller
리턴 CharacterController

drawGizmos 공개적으로 프로퍼티

public bool drawGizmos
리턴 bool

lastPathSearch 보호되어 있는 프로퍼티

protected float lastPathSearch
리턴 float

path 보호되어 있는 프로퍼티

protected Vector3[] path
리턴 Vector3[]

pathIndex 보호되어 있는 프로퍼티

protected int pathIndex
리턴 int

pickNextWaypointDistance 공개적으로 프로퍼티

public float pickNextWaypointDistance
리턴 float

repathRate 공개적으로 프로퍼티

public float repathRate
리턴 float

seeker 보호되어 있는 프로퍼티

protected Seeker, seeker
리턴 Seeker,

speed 공개적으로 프로퍼티

public float speed
리턴 float

targetReached 공개적으로 프로퍼티

public float targetReached
리턴 float

tr 보호되어 있는 프로퍼티

protected Transform tr
리턴 Transform