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

返回

ReadOnly<T> Read-only array.

描述

Cast NativeArray to read-only array.