C# 클래스 AgentLefevreBT, PathfindingToolUnity

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

공개 프로퍼티들

프로퍼티 타입 설명
agent UnityEngine.NavMeshAgent
bullet GameObject
closeEnoughRange float
currentTarget Vector3
fireRate float
graph Pathfinding,
lastFire float
road List
speed float
target GameObject
targets List

공개 메소드들

메소드 설명
Fire ( ) : bool
OnCollisionEnter ( Collision col ) : void
OnDrawGizmosSelected ( ) : void
RefreshTargets ( ) : void
Respawn ( ) : void
Start ( ) : void
Update ( ) : void
UpdateRoad ( ) : void

비공개 메소드들

메소드 설명
fireRoutine ( ) : IEnumerator

메소드 상세

Fire() 공개 메소드

public Fire ( ) : bool
리턴 bool

OnCollisionEnter() 공개 메소드

public OnCollisionEnter ( Collision col ) : void
col Collision
리턴 void

OnDrawGizmosSelected() 공개 메소드

public OnDrawGizmosSelected ( ) : void
리턴 void

RefreshTargets() 공개 메소드

public RefreshTargets ( ) : void
리턴 void

Respawn() 공개 메소드

public Respawn ( ) : void
리턴 void

Start() 공개 메소드

public Start ( ) : void
리턴 void

Update() 공개 메소드

public Update ( ) : void
리턴 void

UpdateRoad() 공개 메소드

public UpdateRoad ( ) : void
리턴 void

프로퍼티 상세

agent 공개적으로 프로퍼티

public NavMeshAgent,UnityEngine agent
리턴 UnityEngine.NavMeshAgent

bullet 공개적으로 프로퍼티

public GameObject bullet
리턴 GameObject

closeEnoughRange 공개적으로 프로퍼티

public float closeEnoughRange
리턴 float

currentTarget 공개적으로 프로퍼티

public Vector3 currentTarget
리턴 Vector3

fireRate 공개적으로 프로퍼티

public float fireRate
리턴 float

graph 공개적으로 프로퍼티

public Pathfinding, graph
리턴 Pathfinding,

lastFire 공개적으로 프로퍼티

public float lastFire
리턴 float

road 공개적으로 프로퍼티

public List road
리턴 List

speed 공개적으로 프로퍼티

public float speed
리턴 float

target 공개적으로 프로퍼티

public GameObject target
리턴 GameObject

targets 공개적으로 프로퍼티

public List targets
리턴 List