NEEDSIMSampleSceneScripts.SimpleSpawn Class Reference

This is a spawning example script to maintain populations More...

Inherits MonoBehaviour.

Public Member Functions

void fillPopulation ()
 Spawn an instance of the prefab for each spawning point at which the previously (if any) spawned instance is dead (null) More...
 
void killAll ()
 Remove all agents from the slots they currently paticipate in and delete them. More...
 

Detailed Description

This is a spawning example script to maintain populations

Member Function Documentation

void NEEDSIMSampleSceneScripts.SimpleSpawn.fillPopulation ( )

Spawn an instance of the prefab for each spawning point at which the previously (if any) spawned instance is dead (null)

void NEEDSIMSampleSceneScripts.SimpleSpawn.killAll ( )

Remove all agents from the slots they currently paticipate in and delete them.


The documentation for this class was generated from the following file:
  • SimpleSpawn.cs