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

パラメーター

positionPosition of the Tile on the Tilemap.

戻り値

TileBase Tile placed at the cell.

説明

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

Use this method to get the Tile at the given XYZ coordinates of a cell in the Tilemap.


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 Tilemap.

Use this method to get the Tile of type T at the given XYZ coordinates of a cell in the Tilemap.