Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

Tilemap.GetUsedTilesCount

Declaration

public int GetUsedTilesCount();

Returns

int The total number of different Tiles used in the Tilemap.

Description

Gets the total number of different Tiles used in the Tilemap.