GetEditorPreviewTile
Gets the editor preview Tile at the given XYZ coordinates of a cell in the Tilemap.
Read time 1 minuteLast updated 7 days ago
Definition
- Type: Method
- Namespace: UnityEngine.Tilemaps
- Assembly: UnityEngine.TilemapModule
GetEditorPreviewTile(Vector3Int)
public TileBase GetEditorPreviewTile(Vector3Int position)
Parameters
Returns
Remarks
Refer to Scriptable Tiles and Tilemap for more information.
GetEditorPreviewTile<T>(Vector3Int)
public T GetEditorPreviewTile<T>(Vector3Int position) where T : TileBase
Parameters
Position of the editor preview Tile on the Tilemap.
Returns
Type | Description |
|---|---|
| T | The editor preview Tile placed at the cell. |
Remarks
Refer to Scriptable Tiles and Tilemap for more information.