Version: 2021.2

Tilemap.GetEditorPreviewTile

切换到手册
public Tilemaps.TileBase GetEditorPreviewTile (Vector3Int position);

参数

position Position of the editor preview Tile on the Tilemap.

返回

TileBase The editor preview Tile placed at the cell.

描述

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

请参阅可编程瓦片瓦片地图以了解更多信息。


public T GetEditorPreviewTile (Vector3Int position);

参数

position 编辑器预览瓦片在 Tilemap 上的位置。

返回

T The editor preview Tile placed at the cell.

描述

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

请参阅可编程瓦片瓦片地图以了解更多信息。