Summary
Returns a spare
System.Collections.Generic.List`1
if there are any, or creates a new one.- Assembly
- Animancer
.dll - Namespace
- Animancer
- Containing Type
- ListPool
Syntax
public static void Acquire<T>(out List<T> list)
Remarks
Remember to
Animancer.ListPool.Release``1(System.Collections.Generic.List{``0})
it when you are done.Type Parameters
Name | Description |
---|---|
T |
Parameters
Name | Type | Description |
---|---|---|
list | List |
Return Value
Type | Description |
---|---|
void |