Summary
Resizes the `array` to be at least 1 larger
and inserts the `item` at the specified `index`.
- Assembly
- Animancer
.dll - Namespace
- Animancer
- Containing Type
- AnimancerUtilities
Syntax
public static void InsertAt<T>(ref T[] array, int index, T item)
Remarks
If the `index` is beyond the end of the array,
it will be resized large enough to fit.
Type Parameters
| Name | Description |
|---|---|
| T |
Parameters
| Name | Type | Description |
|---|---|---|
| array | T[] | |
| index | int | |
| item | T |
Return Value
| Type | Description |
|---|---|
| void |