Documentation

Unity Engine

Unity Engine

assetBundle

Returns the downloaded AssetBundle, or null. (Read Only)
Read time 1 minuteLast updated a month ago

Definition

public AssetBundle assetBundle { get; }

Remarks

This property returns the asset bundle which has been downloaded (or is downloading, in the case of streamed asset bundles).
If there is an error decoding the asset bundle’s assets, the system will log the error and this property will return
null
.