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

Parámetros

www A finished UnityWebRequest object with DownloadHandlerTexture attached.

Valor de retorno

Texture2D The same as DownloadHandlerTexture.texture

Descripción

Returns the downloaded Texture, or null.

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