新增日志, 确定是同时的大量协程并生成物体导致加载卡顿

This commit is contained in:
2025-12-04 17:07:18 +08:00
parent d8acbe6a52
commit 59183167cc

View File

@@ -275,6 +275,7 @@ namespace Demo
{
EnableScriptableObjectCounter++;
AllScriptableObjectCounterHierarchyItem.GetHierarchyItem().text = $"SOC: {ApplyScriptableObjectCounter}/{EnableScriptableObjectCounter}";
Debug.Log(nameof(EnableScript), this);
}
}
@@ -487,6 +488,7 @@ namespace Demo
{
ApplyScriptableObjectCounter++;
AllScriptableObjectCounterHierarchyItem.GetHierarchyItem().text = $"SOC: {ApplyScriptableObjectCounter}/{EnableScriptableObjectCounter}";
Debug.Log(nameof(ApplyScript), this);
}
// 统计更新能力
{