S.A.P.S V0.4.0
A virtual reality stealth action game
 
Loading...
Searching...
No Matches
NPCSpawner Class Reference

Spawns NPCs and sets the path they use to navigate the scene. More...

Inheritance diagram for NPCSpawner:
Singleton< T >

Public Member Functions

Transform ReturnValidGoalPoint (Transform spawnPoint)
 Returns a valid goal's transform that is not the same as the spawn point's transform.
 

Public Attributes

List< GameObject > crowdPoints = new()
 

Properties

Target Target [get]
 
- Properties inherited from Singleton< T >
static T Instance [get]
 

Additional Inherited Members

- Protected Member Functions inherited from Singleton< T >
virtual void Awake ()
 

Detailed Description

Spawns NPCs and sets the path they use to navigate the scene.

Member Function Documentation

◆ ReturnValidGoalPoint()

Transform NPCSpawner.ReturnValidGoalPoint ( Transform spawnPoint)

Returns a valid goal's transform that is not the same as the spawn point's transform.

Parameters
spawnPoint

Member Data Documentation

◆ crowdPoints

List<GameObject> NPCSpawner.crowdPoints = new()

Property Documentation

◆ Target

Target NPCSpawner.Target
get

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