AssetBundleBuild.assetNames

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

An AssetBundle can contain either Scene files or Asset files, but not a mix of the two.

This same path is used to retrieve assets from a loaded AssetBundle, for example with AssetBundle.LoadAsset, unless an alternative name has been specified in AssetBundleBuild.addressableNames.


Did you find this page useful? Please give it a rating: