Additional Inherited Members | |
![]() | |
enum | NPCState { Walk , Idle , Panic } |
![]() | |
void | SetGoalAndHome (Transform goal, Transform home) |
Recieves and sets the goal position and home position. | |
void | RemoveCoherency () |
This method removes the NPC from the players coherency zone. | |
void | DestroySelf () |
![]() | |
virtual void | Awake () |
virtual void | Update () |
void | SetNewGoal (Transform newGoal) |
Begins the NPC's path to the goal given. | |
Transform | GetNewRandomGoal () |
void | CheckDistance () |
virtual void | CompletePath () |
virtual void | Panic () |
![]() | |
NavMeshAgent | agent |
Transform | homeSpawnPoint |
Transform | goalPoint |
float | endSize = 0.5f |
![]() | |
NPCState | State [get, set] |