Version: 2017.2
public Networking.UnityWebRequestAsyncOperation SendWebRequest ();

説明

リモートサーバーとの通信を開始します。

このメソッドを呼び出した後、UnityWebRequest は、DNS 解決 (必要に応じて) を行い、ターゲット URL のリモートサーバーへの HTTP リクエストを送信してサーバーの応答を処理します。

このメソッドは UnityWebRequest の任意のオブジェクトを 1 回だけ呼び出すことができます。このメソッドが呼び出されると UnityWebRequest のプロパティーを変更できません。

This method returns a WebRequestAsyncOperation object. Yielding the WebRequestAsyncOperation inside a coroutine will cause the coroutine to pause until the UnityWebRequest encounters a system error or finishes communicating.