Class ArrayHelpers
Namespace: Assets.Utilities
Syntax
public static class ArrayHelpers
Methods
AppendUnique<T>(ref T[], T)
Declaration
public static void AppendUnique<T>(ref T[] array, T value)
Parameters
| Type | Name | Description |
|---|---|---|
| T[] | array | |
| T | value |
Type Parameters
| Name | Description |
|---|---|
| T |
Resize<T>(ref T[], Int32)
Declaration
public static void Resize<T>(ref T[] array, int newSize)
Parameters
| Type | Name | Description |
|---|---|---|
| T[] | array | |
| Int32 | newSize |
Type Parameters
| Name | Description |
|---|---|
| T |