Exemple #1
0
 internal WWW(string url, string name, Hash128 hash, uint crc)
 {
     this._uwr = UnityWebRequestAssetBundle.GetAssetBundle(url, new CachedAssetBundle(name, hash), crc);
     this._uwr.SendWebRequest();
 }
Exemple #2
0
 public WWW(string url)
 {
     this._uwr = UnityWebRequest.Get(url);
     this._uwr.SendWebRequest();
 }
Exemple #3
0
 public WWW(string url, WWWForm form)
 {
     this._uwr = UnityWebRequest.Post(url, form);
     this._uwr.chunkedTransfer = false;
     this._uwr.SendWebRequest();
 }
Exemple #4
0
 public static string UnEscapeURL(string s, Encoding e)
 {
     return(UnityWebRequest.UnEscapeURL(s, e));
 }