Version: 2023.1
public T this[int] ;

描述

Read-only access to NativeArray.ReadOnly elements by index.

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

See Also: ReadOnly.UnsafeElementAt.