Version: 2022.3
言語: 日本語
public Tilemaps.TileBase GetTile (Vector3Int position);

パラメーター

position Position 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);

パラメーター

position Position 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.