GetSubArray(int, int)
Gets a view into an array starting at the specified index.
Read time 1 minuteLast updated 5 days ago
Definition
- Type: Method
- Namespace: Unity.Collections
- Assembly: UnityEngine.CoreModule
public NativeArray<T> GetSubArray(int start, int length)
Parameters
Returns
Type | Description |
|---|---|
| NativeArray<T> | A view into the array that aliases the original array, which can't be disposed. |