Version: 2019.2
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.