Documentation

Unity Engine


User Manual

Script Reference

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 10 days 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.