Tilemap.GetEditorPreviewSprite

Switch to Manual
public Sprite GetEditorPreviewSprite (Vector3Int position);

Parameters

positionPosition of the editor preview Tile on the Tilemap.

Returns

Sprite Sprite at the XY coordinate.

Description

Gets the Sprite used in an editor preview tile given the XYZ coordinates of a cell in the tile map.