阶段2/IUpdateable接口适配

This commit is contained in:
2025-12-01 17:54:03 +08:00
parent 07fa883537
commit f37658a481
4 changed files with 131 additions and 10 deletions

View File

@@ -113,7 +113,7 @@ namespace Demo.Game
{
if (permanentObjects[i]?.IsUpdateReady == true)
{
permanentObjects[i].DoUpdate(currentTime, deltaTime, tickType);
permanentObjects[i].FlatOptimizationUpdate(currentTime, deltaTime, tickType);
}
}
@@ -126,7 +126,7 @@ namespace Demo.Game
continue;
}
activeObjects[i].DoUpdate(currentTime, deltaTime, tickType);
activeObjects[i].FlatOptimizationUpdate(currentTime, deltaTime, tickType);
}
}
}