Version: 2022.3

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.