Version: 2021.1
LanguageEnglish
  • C#

UnityEngine.AssetBundleModule

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

The AssetBundle module implements the AssetBundle class and related APIs to load data from AssetBundles.

Classes

AssetBundleAssetBundles let you stream additional assets via the UnityWebRequest class and instantiate them at runtime. AssetBundles are created via BuildPipeline.BuildAssetBundle.
AssetBundleCreateRequestAsynchronous create request for an AssetBundle.
AssetBundleManifestManifest for all the AssetBundles in the build.
AssetBundleRecompressOperationAsynchronous AssetBundle recompression from one compression method and level to another.
AssetBundleRequestAsynchronous load request from an AssetBundle.

Structs

BuildCompressionContains information about compression methods, compression levels and block sizes that are supported by Asset Bundle compression at build time and recompression at runtime.

Enumerations

AssetBundleLoadResultThe result of an Asset Bundle Load or Recompress Operation.
CompressionLevelCompression Levels relate to how much time should be spent compressing Assets into an Asset Bundle.
CompressionTypeCompression Method for Asset Bundles.