性能优化(缓存优化, ddt优化, 有效)

This commit is contained in:
2025-12-09 11:18:11 +08:00
parent 85b505fe7e
commit 5ab19e39f2
8 changed files with 111 additions and 688 deletions

View File

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