Class ManualPool<T>
Namespace: Unity.VisualScripting
Syntax
public static class ManualPool<T>
where T : class
Type Parameters
Name | Description |
---|---|
T |
Methods
Free(T)
Declaration
public static void Free(T item)
Parameters
Type | Name | Description |
---|---|---|
T | item |
New(Func<T>)
Declaration
public static T New(Func<T> constructor)
Parameters
Type | Name | Description |
---|---|---|
Func<T> | constructor |
Returns
Type | Description |
---|---|
T |