文档

Unity Engine

Download Unity

Unity Engine

GenerateAssetBundleBuilds()

Returns an array of AssetBundleBuild structs that detail the current AssetBundle layout, as set through the Inspector and stored in the AssetDatabase.
阅读时间1 分钟最后更新于 2 个月前

Definition

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.