Legacy Documentation: Version 5.0
Language: English
  • C#
  • JS

Script language

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

AssetBundleBuild.assetNames

Switch to Manual
public var assetNames: string[];

Description

Asset names which belong to the given AssetBundle.

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