GenerateAssetBundleBuilds()
Returns an array of AssetBundleBuild structs that detail the current AssetBundle layout, as set through the Inspector and stored in the AssetDatabase.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEditor.Build.Content
- Assembly: UnityEditor.CoreModule
public static AssetBundleBuild[] GenerateAssetBundleBuilds()
Returns
Type | Description |
|---|---|
| AssetBundleBuild[] |
Remarks
This API does not generate a build, instead it is a convenient function to populate the build definition into the format expected by some signatures of BuildPipeline.BuildAssetBundles, or the Scriptable Build Pipeline.