WWW.uploadProgress 上传进度

var uploadProgress : float

Description描述

How far has the upload progressed (Read Only).

上传进度有多少(只读)。

This is a value between zero and one; 0 means nothing is sent yet, 1 means upload complete.

这是一个0到1的数值,0表示还没有任何数据被发送,1表示完全上传。

uploadProgress is currently not fully implemented in the Web Player. If used in a Web Player it will report 0.5 during the upload and 1.0 when the upload is complete.

uploadProgress目前没有完全在web播放器中实现,如果在web播放器中使用它将在上传的时候返回0.5,上传完成后返回1.0。

Since all sending of data to the server is done before receiving data, uploadProgress will always be 1.0 when progress is larger than 0.

由于所有的数据发送到服务器在接收数据之前完成,所以当progress大于0时,uploadProgress将总是1.0。

Page last updated: 2011-4-25