Runtime Spawner 1.0.0
Generic Runtime spawn and instance pooling system for spawning random AI agents around a map. Works with ANY AI system easily.
Loading...
Searching...
No Matches
MegaCrush.RuntimeSpawnerSample.RuntimeSpawnerControl Class Reference

Sample script that starts the runtime spawner, instead of it starting automatically. More...

Inheritance diagram for MegaCrush.RuntimeSpawnerSample.RuntimeSpawnerControl:

Public Attributes

float timeBeforeSpawningStarts = 3.0f
 How long do you want to wait before starting the Runtime Spawner?
 

Private Member Functions

void Start ()
 
IEnumerator StartRuntimeSpawner ()
 Wait the defined amount of time and then start the Runtime Spawner on this game object.
 

Private Attributes

RuntimeSpawner thisSpawner
 

Detailed Description

Sample script that starts the runtime spawner, instead of it starting automatically.

Member Function Documentation

◆ Start()

void MegaCrush.RuntimeSpawnerSample.RuntimeSpawnerControl.Start ( )
private

◆ StartRuntimeSpawner()

IEnumerator MegaCrush.RuntimeSpawnerSample.RuntimeSpawnerControl.StartRuntimeSpawner ( )
private

Wait the defined amount of time and then start the Runtime Spawner on this game object.

Returns

Member Data Documentation

◆ thisSpawner

RuntimeSpawner MegaCrush.RuntimeSpawnerSample.RuntimeSpawnerControl.thisSpawner
private

◆ timeBeforeSpawningStarts

float MegaCrush.RuntimeSpawnerSample.RuntimeSpawnerControl.timeBeforeSpawningStarts = 3.0f

How long do you want to wait before starting the Runtime Spawner?


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