PoolHelper Class |
Namespace: Archon.SwissArmyLib.Pooling
The PoolHelper type exposes the following members.
Name | Description | |
---|---|---|
Despawn(Object) |
Despawns an instance and marks it for reuse.
| |
Despawn(Object, Single, Boolean) |
Despawns an instance after a delay.
| |
GetFreeCount |
Gets the amount of free instances in the pool for the specified prefab.
| |
GetPool |
Gets or creates the pool for the given prefab.
| |
GetPrefab(Object) |
Gets the prefab that was used to spawn instance.
| |
GetPrefabT(T) |
Gets the prefab that was used to spawn instance.
| |
SpawnT(T) |
Spawns a recycled object if there's one available, otherwise creates a new instance.
| |
SpawnT(T, Transform) |
Spawns a recycled object if there's one available, otherwise creates a new instance.
| |
SpawnT(T, Vector3) |
Spawns a recycled object if there's one available, otherwise creates a new instance.
| |
SpawnT(T, Vector3, Quaternion) |
Spawns a recycled object if there's one available, otherwise creates a new instance.
| |
SpawnT(T, Vector3, Quaternion, Transform) |
Spawns a recycled object if there's one available, otherwise creates a new instance.
|