Method Recycle
Recycle(T)
Returns an object instance to the pool.
Declaration
public void Recycle(T instance)
Parameters
| Type | Name | Description |
|---|---|---|
| T | instance | The instance to return. |
Remarks
Object values can be cleared automatically if ClearInstance(T) is implemented.
The base ObjectPool class does not clear objects to the pool.