Version: 2023.2
public ReadOnly<T> AsReadOnly ();

返回

ReadOnly<T> Read-only array.

描述

Cast NativeArray to read-only array.