Exemple #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);
 }
Exemple #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);
 }
Exemple #5
0
 //
 // Static Methods
 //
 public static string GetContent(UnityWebRequest www)
 {
     return(DownloadHandler.GetCheckedDownloader <DownloadHandlerBuffer> (www).text);
 }