public UpdateProgress ( float progress ) : void | ||
progress | float | |
return | void |
public void UpdateProgress(float progress)
{
int bytesRead = (int)((long)(progress * contentLength) - totalBytesRead);
ReadProgress(bytesRead);
}