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.

AssetList.FilterCount

public int FilterCount(bool includeFolder, params States[] states);

Parameters

includeFolderWhether or not to include folders.
statesWhich states to include in the count.

Description

Count the list of assets by given a set of states.