NativeArray<T0>.this[int]

public T this[int];

Description

Provides read-only access to ReadOnly elements by index.

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

Additional resources: ReadOnly.UnsafeElementAt.


Did you find this page useful? Please give it a rating: