LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

This version of Unity is unsupported.

Tilemap.HasEditorPreviewTile

public bool HasEditorPreviewTile(Vector3Int position);

Parameters

positionPosition to check.

Returns

bool True if there is an editor preview tile at the position. False if not.

Description

Returns whether there is an editor preview tile at the position.