コード例 #1
0
 internal void InternalSetMethod(UnityWebRequest.UnityWebRequestMethod methodType)
 {
     if (!this.isModifiable)
     {
         throw new InvalidOperationException("UnityWebRequest has already been sent and its request method can no longer be altered");
     }
     UnityWebRequest.UnityWebRequestError unityWebRequestError = this.SetMethod(methodType);
     if (unityWebRequestError != UnityWebRequest.UnityWebRequestError.OK)
     {
         throw new InvalidOperationException(UnityWebRequest.GetWebErrorString(unityWebRequestError));
     }
 }
コード例 #2
0
 internal extern void InternalSetMethod(UnityWebRequest.UnityWebRequestMethod methodType);
コード例 #3
0
 private extern UnityWebRequest.UnityWebRequestError SetMethod(UnityWebRequest.UnityWebRequestMethod methodType);