|
Runtime Spawner 1.5.0
Generic Runtime spawn and instance pooling system for spawning random AI agents around a map. Works with ANY AI system easily.
|
Optional interface for factories that support prewarming (pool priming) of spawnable prefabs. More...
Public Member Functions | |
| void | Prewarm (SpawnEntry entry, int count) |
| Requests that the factory pre-create or cache count instances of a given prefab. | |
Optional interface for factories that support prewarming (pool priming) of spawnable prefabs.
| void MegaCrush.Spawner.IPrewarmableFactory.Prewarm | ( | SpawnEntry | entry, |
| int | count ) |
Requests that the factory pre-create or cache count instances of a given prefab.
| entry | The spawn entry to prewarm. |
| count | Number of instances to prepare for reuse. |
Implemented in MegaCrush.Spawner.FusionAdapter.FusionObjectFactory, and MegaCrush.Spawner.SinglePlayerPoolFactory.