文档

Unity Engine

Unity Engine

GetContent(UnityWebRequest)

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

Definition

public static AssetBundle GetContent(UnityWebRequest www)

Parameters

A finished UnityWebRequest object with DownloadHandlerAssetBundle attached.

Returns

Remarks

A static function provided for convenience; equivalent to ((DownloadHandlerAssetBundle)www.downloadHandler).assetBundle.