Version: 2018.1
public static Texture2D GetContent (Networking.UnityWebRequest www);

Parameters

wwwA finished UnityWebRequest object with DownloadHandlerTexture attached.

Returns

Texture2D The same as DownloadHandlerTexture.texture

Description

Returns the downloaded Texture, or null.

A static function provided for convenience; equivalent to ((DownloadHandlerTexture)www.downloadHandler).texture.