Rename CogWindow plugin to Cog.
Fix Config saving not working
This commit is contained in:
1 parent
6d9494b685
commit
32ca4dc2ba
79 files changed
+993
-802
No files matched your search
@@ -25,7 +25,7 @@ public class CogCommonUI : ModuleRules
|
||||
"CogCommon",
|
||||
"CogImgui",
|
||||
"CogDebug",
|
||||
"CogWindow",
|
||||
"Cog",
|
||||
"CommonUI",
|
||||
"InputCore",
|
||||
}
|
||||
|
||||
@@ -4,11 +4,15 @@
|
||||
|
||||
ERouteUIInputResult UCogCommonUI_ActionRouter::ProcessInput(FKey Key, EInputEvent InputEvent) const
|
||||
{
|
||||
UWorld* World = GetWorld();
|
||||
|
||||
if (FCogImguiInputHelper::IsTopPriorityKey(World, Key))
|
||||
if (const UWorld* World = GetWorld())
|
||||
{
|
||||
return ERouteUIInputResult::Unhandled;
|
||||
if (const UPlayerInput* PlayerInput = FCogImguiInputHelper::GetPlayerInput(*World))
|
||||
{
|
||||
if (FCogImguiInputHelper::IsTopPriorityKey(*PlayerInput, Key))
|
||||
{
|
||||
return ERouteUIInputResult::Unhandled;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return UCommonUIActionRouterBase::ProcessInput(Key, InputEvent);
|
||||
|
||||
Reference in new issue
Block a user