mirror of
https://github.com/Ed94/Cog.git
synced 2026-07-26 17:30:11 +00:00
Rework how ImGui input toggle is triggered
Add a new window CommandBindings to configure the shortcuts of console commands The first time it is created, this window add the bindings to control cog: [Tab] Cog.ToggleInput [F1] Cog.LoadLayout 1 [F2] Cog.LoadLayout 2 [F3] Cog.LoadLayout 3 [F4] Cog.LoadLayout 4 [F5] Cog.ToggleSelectionMode The selection window can now uses the Actor Label instead of Name (simpler to read) Fix Blackboard sorting
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
#include "CogSampleGameState.generated.h"
|
||||
|
||||
class UCogWindowManager;
|
||||
class UCogEngineWindow_Selection;
|
||||
|
||||
UCLASS()
|
||||
class ACogSampleGameState : public AGameStateBase
|
||||
@@ -32,11 +33,12 @@ private:
|
||||
|
||||
void InitializeCog();
|
||||
|
||||
void RegisterCommand(const TCHAR* Name, const TCHAR* Help, const FConsoleCommandWithArgsDelegate& Command);
|
||||
void RegisterCommands();
|
||||
|
||||
void CogToggleInput(const TArray<FString>& Args);
|
||||
void UnregisterCommands();
|
||||
|
||||
TObjectPtr<UCogWindowManager> CogWindowManager = nullptr;
|
||||
TObjectPtr<UCogEngineWindow_Selection> SelectionWindow = nullptr;
|
||||
|
||||
#endif //ENABLE_COG
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user