refactor: got rid of the static Time class and implemented EngineTime on IGameManager

This commit is contained in:
2025-03-30 20:19:03 +03:00
parent 82705ba378
commit b73c9ed0ae
5 changed files with 21 additions and 31 deletions

View File

@@ -51,7 +51,7 @@ public class PhysicsCoroutineManager : HierarchyObject
gameManager.OnUpdate -= OnUpdate;
}
private void OnUpdate(IGameManager sender, EngineTime time)
private void OnUpdate(IGameManager sender, EngineTime engineTime)
{
if (GameManager is not IGameManager gameManager)
return;