Documentation

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.
Read time 1 minuteLast updated 2 months ago

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.