Skip to content

Commit 345977d

Browse files
Merge pull request #17 from dubit/dev_progress_fix
Http progress event fix
2 parents f55d960 + c6807e4 commit 345977d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Scripts/Service/Unity/UnityHttpRequest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ private void UpdateProgress(ref float currentProgress, float progress, Action<fl
126126
if (currentProgress < progress)
127127
{
128128
currentProgress = progress;
129-
onProgress(downloadProgress);
129+
onProgress?.Invoke(currentProgress);
130130
}
131131
}
132132
}

0 commit comments

Comments
 (0)