DownloadHandlerAssetBundle.GetContent

Declaration

public static AssetBundle GetContent(Networking.UnityWebRequest www);

Parameters

www A finished UnityWebRequest object with DownloadHandlerAssetBundle attached.

Returns

AssetBundle The same as DownloadHandlerAssetBundle.assetBundle

Description

Returns the downloaded AssetBundle, or null.

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


Did you find this page useful? Please give it a rating: