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.GetAllScenePaths

Switch to Manual
public string[] GetAllScenePaths();

Description

Return all the scene asset paths (paths to *.unity assets) in the AssetBundle.

Only works for streamed scene AssetBundles, otherwise empty string array is returned.