|
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.
|
Represents a handle returned by an IObjectFactory after spawning an object. More...
Public Member Functions | |
| bool | TryGetNetworkComponent< T > (out T component) |
| Attempts to retrieve a component of type T from the instance. | |
| void | Despawn () |
| Destroys or despawns the instance according to the factory’s configured behavior. | |
Properties | |
| GameObject | Instance [get] |
| The spawned GameObject instance. | |
| bool | IsNetworked [get] |
| Indicates whether the instance represents a networked object. | |
Represents a handle returned by an IObjectFactory after spawning an object.
| void MegaCrush.Spawner.ISpawnHandle.Despawn | ( | ) |
Destroys or despawns the instance according to the factory’s configured behavior.
Implemented in MegaCrush.Spawner.BasicSpawnHandle.
| bool MegaCrush.Spawner.ISpawnHandle.TryGetNetworkComponent< T > | ( | out T | component | ) |
Attempts to retrieve a component of type T from the instance.
| T | Component type to search for. |
| component | Output component reference. |
true if the component exists; otherwise false.Implemented in MegaCrush.Spawner.BasicSpawnHandle.
| T | : | Component |
|
get |
The spawned GameObject instance.
Implemented in MegaCrush.Spawner.BasicSpawnHandle.
|
get |
Indicates whether the instance represents a networked object.
Implemented in MegaCrush.Spawner.BasicSpawnHandle.