Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


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

addressableNamesAddressable name used to load an asset.
assetBundleNameAssetBundle name.
assetBundleVariantAssetBundle variant.
assetNamesAsset names which belong to the given AssetBundle.