Version: 2022.3
言語: 日本語
public float downloadProgress ;

説明

ボディデータをサーバーからダウンロードの進行状況を示す 0.0 と 1.0 の間の浮動小数点値を返します。

Note: This property only works if the server’s response contains a Content-Length header and the UnityWebRequest has a DownloadHandler attached to the downloadHandler property.

[UnityWebRequest]] が完了 (成功またはシステムエラー)した場合、このプロパティーは常に 1 を返します。[UnityWebRequest]] がまだリモートサーバーと通信しており、downloadHandlernull の場合、プロパティーは 0.5 が返されます。Send が呼び出されていない場合、このプロパティーは -1 を返します。