private void OnProgress(int arg1, int arg2) { Log.Info($"Load progress <{arg1} / {arg2}>"); if (arg1 >= arg2) { //加载完成 LMessage.Broadcast(LoadEvent.LoadFinish); } LMessage.Broadcast(LoadEvent.LoadProgressUpdate, arg1, arg2); }
private void OnProgress(int arg1, int arg2) { Log.Info($"Load progress <{arg1} / {arg2}>"); if (arg1 >= arg2) { //加载完成 LMessage.Broadcast(LoadEvent.LoadFinish); } LMessage.Broadcast(LoadEvent.LoadProgressUpdate, arg1, arg2); }