Tilemap.GetEditorPreviewTile

Declaration

public Tilemaps.TileBase GetEditorPreviewTile(Vector3Int position);

Parameters

position Position of the editor preview Tile on the Tilemap.

Returns

TileBase The editor preview Tile placed at the cell.

Description

Gets the editor preview Tile at the given XYZ coordinates of a cell in the Tilemap.

Refer to Scriptable Tiles and Tilemap for more information.


Declaration

public T GetEditorPreviewTile(Vector3Int position);

Parameters

position Position of the editor preview Tile on the Tilemap.

Returns

T The editor preview Tile placed at the cell.

Description

Gets the editor preview Tile at the given XYZ coordinates of a cell in the Tilemap.

Refer to Scriptable Tiles and Tilemap for more information.


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