|
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.
|
Interface implemented by object factories capable of spawning objects synchronously or asynchronously. More...
Public Member Functions | |
| ISpawnHandle | Spawn (SpawnRequest request) |
| Performs a synchronous spawn operation. | |
| Task< ISpawnHandle > | SpawnAsync (SpawnRequest request) |
| Performs an asynchronous spawn operation (useful for streaming or deferred instantiation). | |
Interface implemented by object factories capable of spawning objects synchronously or asynchronously.
| ISpawnHandle MegaCrush.Spawner.IObjectFactory.Spawn | ( | SpawnRequest | request | ) |
Performs a synchronous spawn operation.
| request | The SpawnRequest to process. |
null if the spawn failed or was refused. Implemented in MegaCrush.Spawner.FusionAdapter.FusionObjectFactory, MegaCrush.Spawner.PunAdapter.PUNObjectFactory, and MegaCrush.Spawner.SinglePlayerPoolFactory.
| Task< ISpawnHandle > MegaCrush.Spawner.IObjectFactory.SpawnAsync | ( | SpawnRequest | request | ) |
Performs an asynchronous spawn operation (useful for streaming or deferred instantiation).
| request | The SpawnRequest to process. |
Implemented in MegaCrush.Spawner.FusionAdapter.FusionObjectFactory, MegaCrush.Spawner.PunAdapter.PUNObjectFactory, and MegaCrush.Spawner.SinglePlayerPoolFactory.