Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetTileData(Vector3Int, ITilemap, ref TileData)

Retrieves the tile rendering data for the Tile.
Read time 1 minuteLast updated 10 days 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.