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

パラメーター

positionPosition of the Tile on the Tilemap.

戻り値

TileBase TileBase placed at the cell.

説明

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


public T GetTile (Vector3Int position);

パラメーター

positionPosition of the Tile on the Tilemap.

戻り値

T Tile of type T placed at the cell.

説明

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