public Color GetColor (Vector3Int position);

Parameters

position瓦片在 Tilemap 上的位置。

Returns

Color XY 坐标处的 tile 颜色。

Description

Gets the color of a Tile given the XYZ coordinates of a cell in the Tilemap.

Refer to Scriptable Tiles and Tilemap for more information.