SwissArmyLib
SwissArmyLib
Archon.SwissArmyLib.Pooling
Pool(T) Class
Pool(T) Methods
CancelDespawn Method
Despawn Method
OnDespawned Method
OnSpawned Method
Prewarm Method
Spawn Method
SpawnInternal Method
Pool
T
Spawn Method
Spawns a recycled object if there's one available, otherwise creates a new instance.
Namespace:
Archon.SwissArmyLib.Pooling
Assembly:
Archon.SwissArmyLib (in Archon.SwissArmyLib.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
Copy
public
T
Spawn
()
Request Example
View Source
Return Value
Type:
T
The spawned object.
Implements
IPool
T
Spawn
See Also
Reference
Pool
T
Class
Archon.SwissArmyLib.Pooling Namespace