ObjectPool.

Acquire<T>(List<T>) Method

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
ObjectPool

Syntax

public static void Acquire<T>(out List<T> list)

Remarks

Remember to Animancer.ObjectPool.Release``1(System.Collections.Generic.List{``0}) it when you are done.

Type Parameters

Name Description
T

Parameters

Name Type Description
list List<T>

Return Value

Type Description
void