Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GenerateAssetBundleBuilds()

Retrieves an array of AssetBundleBuild structs that detail the current AssetBundle layout.
Read time 1 minuteLast updated 12 days ago

Definition

public static AssetBundleBuild[] GenerateAssetBundleBuilds()

Returns

Type

Description

AssetBundleBuild[]An array of AssetBundleBuild structs that detail the current AssetBundle layout, as set through the Inspector and stored in the AssetDatabase.

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.