Rename CogWindow plugin to Cog.

Fix Config saving not working
This commit is contained in:
Arnaud Jamin
2025-02-12 13:56:06 -05:00
parent 6d9494b685
commit 32ca4dc2ba
79 changed files with 993 additions and 802 deletions
+4 -2
View File
@@ -5,7 +5,7 @@
#if ENABLE_COG
#include "CogAll.h"
#include "CogSampleWindow_Team.h"
#include "CogWindowManager.h"
#include "CogSubsystem.h"
#endif
//--------------------------------------------------------------------------------------------------------------------------
@@ -14,10 +14,12 @@ void UCogSampleGameInstance::Init()
Super::Init();
#if ENABLE_COG
if (UCogWindowManager* CogSubSystem = GetSubsystem<UCogWindowManager>())
if (UCogSubsystem* CogSubSystem = GetSubsystem<UCogSubsystem>())
{
Cog::AddAllWindows(*CogSubSystem);
CogSubSystem->AddWindow<FCogSampleWindow_Team>("Gameplay.Team");
CogSubSystem->Activate();
}
#endif
}