Пример #1
0
 void LateUpdate()
 {
     if (currentDownloadRequest != null)
     {
         downloadResultText.setText("Download JSON progress: " + currentDownloadRequest.downloadProgress.ToString("P2"));
     }
     if (currentUploadRequest != null)
     {
         //float progress = (currentUploadRequest.uploadProgress + currentUploadRequest.progress) / 2;
         uploadResultText.setText("Upload data progress: " + currentUploadRequest.uploadProgress.ToString("P2"));
     }
 }