Legacy Documentation: Version 2018.2 (Go to current version)
LanguageEnglish
  • C#

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.

Did you find this page useful? Please give it a rating: