Version: 2022.2

AssetBundleBuild

struct in UnityEditor

切换到手册

描述

用于构建映射条目的 AssetBundle。

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.

另请参阅:BuildPipeline.BuildAssetBundles

变量

addressableNames用于加载资源的可寻址名称。
assetBundleNameAssetBundle 名称。
assetBundleVariantAssetBundle 变体。
assetNames属于给定 AssetBundle 的资源名称。