DownloadHandlerTexture.GetContent

Declaration

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.


Did you find this page useful? Please give it a rating: