Summary
Returns a spare `item` if there are any, or creates a new one.
- Assembly
- Animancer
.dll - Namespace
- Animancer
- Containing Type
- ObjectPool
Syntax
public static void Acquire<T>(out T item) where T : class, new()
Remarks
Remember to
Animancer.ObjectPool.Release``1(``0)
it when you are done.Type Parameters
Name | Description |
---|---|
T |
Parameters
Name | Type | Description |
---|---|---|
item | T |
Return Value
Type | Description |
---|---|
void |