| Parameter | Description |
|---|---|
| length | The number of elements to allocate. |
| allocator | The Unity.Collections.Allocator to use for the data. |
Creates a new array and allocates enough memory to fit the provided number of elements.
| Parameter | Description |
|---|---|
| length | The number of elements to allocate. |
| memoryLabel | The Unity.Collections.MemoryLabel to allocate under. |
Creates a new array and allocates enough memory to fit the provided number of elements, using the specified memory label.