Version: 2021.1

Tilemap.SetEditorPreviewTile

切换到手册
public void SetEditorPreviewTile (Vector3Int position, Tilemaps.TileBase tile);

参数

position 编辑器预览瓦片在 Tilemap 上的位置。
tile The editor preview Tile to be placed the cell.

描述

Sets an editor preview Tile given the XYZ coordinates of a cell in the Tilemap.

The editor preview Tile is used for previewing possible additions to the Tilemap.