Documentation

Unity Engine


Unity Engine


GetTileData(Vector3Int, ITilemap, ref TileData)

Retrieves the tile rendering data for the Tile.
Read time 1 minuteLast updated a month ago

Definition

GetTileData(Vector3Int, ITilemap, TileData)

public override void GetTileData(Vector3Int position, ITilemap tilemap, ref TileData tileData)

Parameters

position

Position of the Tile on the Tilemap.

tilemap

The Tilemap the tile is present on.

tileData

Data to render the tile. This is filled with Tile, color and transform.