update asset system

优化资源对象加载耗时统计逻辑。
This commit is contained in:
hevinci
2023-03-01 18:23:47 +08:00
parent 4f0f0e54ac
commit 295238cbb6
5 changed files with 15 additions and 14 deletions

View File

@@ -23,7 +23,7 @@ namespace YooAsset
}
public override void Update()
{
DebugRecording();
DebugBeginRecording();
if (IsDone)
return;