Beispiel #1
0
 public static bool CheckErrorType(this UnityWebRequest res, int responseCode, string key, string value)
 {
     return(res.responseCode == responseCode && res.GetErrorType(key).Equals(value));
 }
Beispiel #2
0
 public static bool CheckErrorType(this UnityWebRequest res, string key, string value)
 {
     return(res.GetErrorType(key).Equals(value));
 }