Version: 2022.1

Tilemap.GetUsedSpritesCount

切换到手册
public int GetUsedSpritesCount ();

返回

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

描述

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