Version: 2018.3 (switch to 2019.1)
LanguageEnglish
  • C#

DownloadHandlerAssetBundle.GetContent

public static AssetBundle GetContent(Networking.UnityWebRequest www);

Parameters

wwwA 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: