ドキュメント

Unity Engine

Unity Engine

this[]

Provides read-only access to NativeArray<T>.ReadOnly elements by index.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

this[int]

public T this[int index] { get; }

Parameters

index

Returns

Type

Description

T

Remarks

The elements of the array are returned by value, not by reference. If you need the reference, use the ReadOnly.UnsafeElementAt(int) method.