Brought over LY legacy imgui code

Signed-off-by: AMZN-Olex <5432499+AMZN-Olex@users.noreply.github.com>
This commit is contained in:
AMZN-Olex
2021-07-26 18:01:14 -04:00
parent 90e45a5bbd
commit 46777b537e
7 changed files with 812 additions and 0 deletions
@@ -53,6 +53,11 @@ namespace Multiplayer
#endif
}
void MultiplayerDebugSystemComponent::OnImGuiInitialize()
{
m_reporter = AZStd::make_unique<MultiplayerDiagnostics::MultiplayerDebugPerEntityReporter>();
}
#ifdef IMGUI_ENABLED
void MultiplayerDebugSystemComponent::OnImGuiMainMenuUpdate()
{
@@ -318,6 +323,12 @@ namespace Multiplayer
ImGui::End();
}
}
if (m_reporter)
{
m_reporter->OnImGuiUpdate();
}
}
#endif
}