Class SpawnedObject
Internal helper to track spawned objects by each spawner and their destiny.
Inherited Members
Namespace: Axis.Logic
Assembly: cs.temp.dll.dll
Syntax
public sealed class SpawnedObject : AxisMonoBehaviour
Fields
Pool
Total list of spawned objects that were pooled for reuse when disabled
Declaration
public static List<AxisGameObject> Pool
Field Value
Type | Description |
---|---|
System.Collections.Generic.List<T><AxisGameObject> |
Methods
GetPolled(AxisSpawner, string, Type)
This method searches for disabled pooled object that matches the spawner requirements for reuse
Declaration
public static AxisGameObject GetPolled(AxisSpawner spawner, string name, Type base_type)
Parameters
Type | Name | Description |
---|---|---|
AxisSpawner | spawner | Spawner that is requesting |
string | name | Object default name |
Type | base_type | What type |
Returns
Type | Description |
---|---|
AxisGameObject | The object to reuse, or null if not found |