Refactor UpdateGraph to run after engine services and game scripts
#2413
This commit is contained in:
@@ -324,10 +324,12 @@ void Engine::OnUpdate()
|
|||||||
|
|
||||||
// Call event
|
// Call event
|
||||||
Update();
|
Update();
|
||||||
UpdateGraph->Execute();
|
|
||||||
|
|
||||||
// Update services
|
// Update services
|
||||||
EngineService::OnUpdate();
|
EngineService::OnUpdate();
|
||||||
|
|
||||||
|
// Run async
|
||||||
|
UpdateGraph->Execute();
|
||||||
}
|
}
|
||||||
|
|
||||||
void Engine::OnLateUpdate()
|
void Engine::OnLateUpdate()
|
||||||
|
|||||||
Reference in New Issue
Block a user