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

参数

www 已附加 DownloadHandlerTexture 的已完成 UnityWebRequest 对象。

返回

Texture2DDownloadHandlerTexture.texture 相同

描述

返回下载的 Texturenull

为方便起见而提供的一种静态函数,等同于 ((DownloadHandlerTexture)www.downloadHandler).texture。