Version: 2017.2

Tilemap.GetEditorPreviewSprite

Switch to Manual
public Sprite GetEditorPreviewSprite (Vector3Int position);

Parameters

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