Class XArrayPool
Namespace: Unity.VisualScripting
Syntax
public static class XArrayPool
Methods
Free<T>(T[])
Declaration
public static void Free<T>(this T[] array)
Parameters
| Type | Name | Description |
|---|---|---|
| T[] | array |
Type Parameters
| Name | Description |
|---|---|
| T |
ToArrayPooled<T>(IEnumerable<T>)
Declaration
public static T[] ToArrayPooled<T>(this IEnumerable<T> source)
Parameters
| Type | Name | Description |
|---|---|---|
| IEnumerable<T> | source |
Returns
| Type | Description |
|---|---|
| T[] |
Type Parameters
| Name | Description |
|---|---|
| T |