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

返回

ReadOnly<T> Read-only array.

描述

Cast NativeArray to read-only array.