Summary
Adds the `item` to the list of spares so it can be reused and sets it to
null.- Assembly
- Animancer
.dll - Namespace
- Animancer
- Containing Type
- ObjectPool
Syntax
public static void Release<T>(ref T item) where T : class, new()
Type Parameters
| Name | Description |
|---|---|
| T |
Parameters
| Name | Type | Description |
|---|---|---|
| item | T |
Return Value
| Type | Description |
|---|---|
| void |