Debug overlay for kpbs per entity works

Signed-off-by: AMZN-Olex <5432499+AMZN-Olex@users.noreply.github.com>
This commit is contained in:
AMZN-Olex
2021-07-27 15:49:41 -04:00
parent 8fa3addda3
commit 5ebb096d1a
5 changed files with 138 additions and 38 deletions
@@ -13,8 +13,6 @@
#include <AzNetworking/Framework/INetworkInterface.h>
#include <Multiplayer/IMultiplayer.h>
#pragma optimize("", off)
namespace Multiplayer
{
void MultiplayerDebugSystemComponent::Reflect(AZ::ReflectContext* context)
@@ -329,7 +327,8 @@ namespace Multiplayer
if (m_displayPerEntityStats)
{
if (ImGui::Begin("Multiplayer Per Entity Analytics", &m_displayPerEntityStats, ImGuiWindowFlags_None))
//ImGui::SetNextWindowSize({500, 400});
if (ImGui::Begin("Multiplayer Per Entity Stats", &m_displayPerEntityStats, ImGuiWindowFlags_AlwaysAutoResize))
{
if (m_reporter)
{