Legacy Documentation: Version 5.2
LanguageEnglish
  • C#
  • JS

Script language

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

AssetBundleBuild.assetNames

Switch to Manual
public string[] assetNames;

Description

Asset names which belong to the given AssetBundle.

Please use the asset path relative to the project folder, for example "Assets/MyPrefab.prefab".