Click or drag to resize

IPoolT Interface

Represents an object pool that has methods for spawning and despawning objects.

Namespace:  Archon.SwissArmyLib.Pooling
Assembly:  Archon.SwissArmyLib (in Archon.SwissArmyLib.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public interface IPool<T>
Request Example View Source

Type Parameters

T
The type of objects that this pool can be used for.

The IPoolT type exposes the following members.

Methods
  NameDescription
Public methodDespawn
Despawns an instance of the type T and marks it for reuse.
Public methodSpawn
Spawns a recycled or new instance of the type T.
Top
See Also