Version: 2017.2
public Tilemaps.TileBase GetTile (Vector3Int position);

Parámetros

position Position of the Tile on the Tilemap.

Valor de retorno

TileBase TileBase placed at the cell.

Descripción

Gets the tile at the given XYZ coordinates of a cell in the tile map.


public T GetTile (Vector3Int position);

Parámetros

position Position of the Tile on the Tilemap.

Valor de retorno

T Tile of type T placed at the cell.

Descripción

Gets the tile of type T at the given XYZ coordinates of a cell in the tile map.