AssetBundleBuild
AssetBundle building map entry.
Read time 1 minuteLast updated 5 days ago
Definition
- Type: Struct
- Namespace: UnityEditor
- Assembly: UnityEditor.CoreModule
public struct AssetBundleBuild
Remarks
This structure is used with BuildPipeline.BuildAssetBundles to specify the name of a bundle and the names of the assets that it will contain. The array of AssetBundleBuild elements that is passed to the function is known as the "building map" and serves as an alternative to specifying the contents of bundles from the editor.
Additional Resources: BuildPipeline.BuildAssetBundles
Fields
Value | Description |
|---|---|
| addressableNames | Addressable name used to load an asset. |
| assetBundleName | AssetBundle name. |
| assetBundleVariant | AssetBundle variant. |
| assetNames | Asset names which belong to the given AssetBundle. |