S.A.P.S V0.4.0
A virtual reality stealth action game
 
Loading...
Searching...
No Matches
Passerby Class Reference
Inheritance diagram for Passerby:
NPCPather

Additional Inherited Members

- Public Types inherited from NPCPather
enum  NPCState { Walk , Idle , Panic }
 
- Public Member Functions inherited from NPCPather
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 ()
 
- Protected Member Functions inherited from NPCPather
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 ()
 
- Protected Attributes inherited from NPCPather
NavMeshAgent agent
 
Transform homeSpawnPoint
 
Transform goalPoint
 
float endSize = 0.5f
 
- Properties inherited from NPCPather
NPCState State [get, set]
 

The documentation for this class was generated from the following file: