文档

Unity Engine

Unity Engine

assetBundle

Returns the downloaded AssetBundle, or null. (Read Only)
阅读时间1 分钟最后更新于 1 个月前

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
.