|
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... | |
This is a spawning example script to maintain populations
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.