GetSubArray(int, int)
Gets a view into an array starting at the specified index.
阅读时间1 分钟最后更新于 1 个月前
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. |