Tilemap.SetColor

public void SetColor(Vector3Int position, Color color);

Parameters

positionPosition of the Tile on the Tilemap.
colorColor to set the tile to at the XY coordinate.

Description 描述

Sets the color of a tile given the XYZ coordinates of a cell in the tile map.