![]() |
Runtime Spawner 1.2.5
Generic Runtime spawn and instance pooling system for spawning random AI agents around a map. Works with ANY AI system easily.
|
Per-wave loop configuration describing if/how a wave should repeat. More...
Public Attributes | |
LoopType | type |
Loop strategy. LoopType.None keeps the single-run behavior. | |
float | durationSeconds |
When LoopType.Duration is used, the wave repeats until this many seconds have elapsed. | |
int | maxLoops |
When LoopType.MaxLoops is used, the wave repeats this many times. Use 0 to indicate unlimited (treated as no cap). | |
string | untilSignal |
When LoopType.UntilSignal is used, the wave repeats until this signal is received (integration point for your signal bus). | |
float | restSeconds |
Optional pause inserted between loop iterations (all loop types). | |
bool | shuffleOnLoop |
If true, the wave's internal spawn list can be shuffled each loop (if supported by the runner). | |
Per-wave loop configuration describing if/how a wave should repeat.
float MegaCrush.Spawner.LoopPolicy.durationSeconds |
When LoopType.Duration is used, the wave repeats until this many seconds have elapsed.
int MegaCrush.Spawner.LoopPolicy.maxLoops |
When LoopType.MaxLoops is used, the wave repeats this many times. Use 0 to indicate unlimited (treated as no cap).
float MegaCrush.Spawner.LoopPolicy.restSeconds |
Optional pause inserted between loop iterations (all loop types).
bool MegaCrush.Spawner.LoopPolicy.shuffleOnLoop |
If true, the wave's internal spawn list can be shuffled each loop (if supported by the runner).
LoopType MegaCrush.Spawner.LoopPolicy.type |
Loop strategy. LoopType.None keeps the single-run behavior.
string MegaCrush.Spawner.LoopPolicy.untilSignal |
When LoopType.UntilSignal is used, the wave repeats until this signal is received (integration point for your signal bus).