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.
Loading...
Searching...
No Matches
MegaCrush.Spawner.ISpawnExecutor Interface Reference

Executes a spawn request for a given SpawnEntry using a provided context. More...

Inheritance diagram for MegaCrush.Spawner.ISpawnExecutor:
MegaCrush.Spawner.SpawnExecutor

Public Member Functions

GameObject Spawn (SpawnEntry entry, SpawnContext ctx)
 Spawns an instance for entry at a position derived from ctx .
 

Detailed Description

Executes a spawn request for a given SpawnEntry using a provided context.

Member Function Documentation

◆ Spawn()

GameObject MegaCrush.Spawner.ISpawnExecutor.Spawn ( SpawnEntry entry,
SpawnContext ctx )

Spawns an instance for entry at a position derived from ctx .

Parameters
entrySpawn configuration (prefab, group settings, etc.).
ctxContext describing source, placement hints, and player position.
Returns
The spawned instance (active), or null on failure.

Implemented in MegaCrush.Spawner.SpawnExecutor.


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