Legacy Documentation: Version 2018.2 (Go to current version)
LanguageEnglish
  • C#

Tilemap.GetEditorPreviewSprite

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.

Did you find this page useful? Please give it a rating: