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

返回

ReadOnly<T> Read-only array.

描述

Cast NativeArray to read-only array.