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

Parameters

www A 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.