Version: 2021.3
public NativeArray<T> GetData ();

返回

NativeArray<T> The array where tile layer data can be written to.

描述

Get a reference to the tile layer data to write texture data to.

This function returns a direct reference to the tile layer's pixel data as a Unity.Collections.NativeArray.