code style

This commit is contained in:
何冠峰
2025-02-22 16:29:25 +08:00
parent 64e9734bbe
commit 400c2ccefe
87 changed files with 230 additions and 228 deletions
@@ -13,11 +13,6 @@ namespace YooAsset
private static Stopwatch _watch;
private static long _frameTime;
/// <summary>
/// 快速启动模式
/// </summary>
public static bool QuickStartMode = true;
/// <summary>
/// 异步操作的最小时间片段
/// </summary>
@@ -82,7 +77,7 @@ namespace YooAsset
continue;
if (operation.IsDone == false)
operation.InternalOnUpdate();
operation.InternalUpdate();
if (operation.IsDone)
operation.SetFinish();
@@ -141,11 +136,6 @@ namespace YooAsset
_newList.Add(operation);
operation.SetPackageName(packageName);
operation.SetStart();
if (QuickStartMode)
{
operation.InternalOnUpdate();
}
}
}
}