window settings - imgui toggle input settings

This commit is contained in:
Arnaud Jamin
2023-10-11 14:34:18 -04:00
parent 18d82287aa
commit e90b097c1d
12 changed files with 310 additions and 77 deletions
+1 -1
View File
@@ -117,7 +117,7 @@ void ACogSampleGameState::Tick(float DeltaSeconds)
//--------------------------------------------------------------------------------------------------------------------------
void ACogSampleGameState::InitializeCog()
{
FCogImguiModule::Get().SetToggleInputKey(FCogImGuiKeyInfo(EKeys::Insert));
FCogImguiModule::Get().SetToggleInputKey(FCogImGuiKeyInfo(EKeys::Tab));
RegisterCommand(TEXT("Cog.ToggleInput"), TEXT(""), FConsoleCommandWithArgsDelegate::CreateUObject(this, &ACogSampleGameState::CogToggleInput));
CogWindowManager = NewObject<UCogWindowManager>(this);