Initial infrastructure for C# scene callbacks in subsystems

This commit is contained in:
WiggleWizard
2024-09-19 17:52:01 +01:00
parent 98797e15f8
commit d0c5ef1a1d
14 changed files with 190 additions and 4 deletions

View File

@@ -243,6 +243,8 @@ namespace Nuake
bool Scene::OnInit()
{
preInitializeDelegate.Broadcast();
for (auto& system : m_Systems)
{
if (!system->Init())
@@ -250,6 +252,8 @@ namespace Nuake
return false;
}
}
postInitializeDelegate.Broadcast();
return true;
}