UnityEngine.Networking.DownloadHandlerTexture.GetContent C# (CSharp) Method

GetContent() public static method

Returns the downloaded Texture, or null.

public static GetContent ( UnityWebRequest www ) : Texture2D
www UnityWebRequest A finished UnityWebRequest object with DownloadHandlerTexture attached.
return UnityEngine.Texture2D
        public static Texture2D GetContent(UnityWebRequest www)
        {
            return DownloadHandler.GetCheckedDownloader<DownloadHandlerTexture>(www).texture;
        }
    }