기술 자료

Unity Engine

Unity Engine

GetSubArray(int, int)

Gets a view into an array starting at the specified index.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

public NativeArray<T> GetSubArray(int start, int length)

Parameters

start

The start index of the sub array.

length

The length of the sub array.

Returns

Type

Description

NativeArray<T>A view into the array that aliases the original array, which can't be disposed.