文档

Unity Engine

Unity Engine

progress

How far has the download progressed (Read Only).
阅读时间1 分钟最后更新于 20 天前

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.UnityWebRequestWWWModule
警告
Deprecated. Use UnityWebRequest, a fully featured replacement which is more efficient and has additional features
public float progress { get; }

Remarks

This is a value between zero and one; 0 means nothing is downloaded, 1 means download complete.
progress will remain at 0.0 while sending the request to the server. For monitoring progress when uploading files to a web server, see WWW.uploadProgress.