Legacy Documentation: Version 5.2
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

AssetBundle.GetAllAssetNames

Switch to Manual
public string[] GetAllAssetNames();

Description

Return all asset names in the AssetBundle.

Only works for normal AssetBundles (non-streamed scene AssetBundle), otherwise empty string array is returned.