This version of Unity is unsupported.

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.