Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

AssetBundle.GetAllAssetNames

Declaration

public string[] GetAllAssetNames();

Description

Return all Asset names in the AssetBundle.

Only works for normal AssetBundles (non-streamed Scene AssetBundle), otherwise an empty string array is returned. The names are the project-relative path of each Asset file, unless a different name was specified at build time.

Additional resources: AssetBundleBuild.addressableNames