Class XListPool
Namespace: Unity.VisualScripting
Syntax
public static class XListPool
Methods
Free<T>(List<T>)
Declaration
public static void Free<T>(this List<T> list)
Parameters
Type | Name | Description |
---|---|---|
List<T> | list |
Type Parameters
Name | Description |
---|---|
T |
ToListPooled<T>(IEnumerable<T>)
Declaration
public static List<T> ToListPooled<T>(this IEnumerable<T> source)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<T> | source |
Returns
Type | Description |
---|---|
List<T> |
Type Parameters
Name | Description |
---|---|
T |