Exemplo n.º 1
0
 public static Texture2D GetContent(UnityWebRequest www)
 {
     return(DownloadHandler.GetCheckedDownloader <DownloadHandlerTexture>(www).texture);
 }
 public static MovieTexture GetContent(UnityWebRequest uwr)
 {
     return(DownloadHandler.GetCheckedDownloader <DownloadHandlerMovieTexture>(uwr).movieTexture);
 }
Exemplo n.º 3
0
 public static AssetBundle GetContent(UnityWebRequest www)
 {
     return(DownloadHandler.GetCheckedDownloader <DownloadHandlerAssetBundle>(www).assetBundle);
 }
 public static AudioClip GetContent(UnityWebRequest www)
 {
     return(DownloadHandler.GetCheckedDownloader <DownloadHandlerAudioClip>(www).audioClip);
 }
Exemplo n.º 5
0
 //
 // Static Methods
 //
 public static string GetContent(UnityWebRequest www)
 {
     return(DownloadHandler.GetCheckedDownloader <DownloadHandlerBuffer> (www).text);
 }