More progress on prompt

This commit is contained in:
2026-05-04 15:27:28 -04:00
parent 9d37f02d44
commit 3e7e6a2ae4
10 changed files with 121 additions and 73 deletions

View File

@@ -7,8 +7,6 @@
#include "UObject/ObjectKey.h"
#include "PlayerControllerBase.generated.h"
DECLARE_DYNAMIC_MULTICAST_DELEGATE_OneParam(FlxInputModeChanged, ElxInputMode, NewMode);
class UlxRootCanvasPanel;
class UWidget;
@@ -43,12 +41,6 @@ public:
// Called by GameMode each tick.
void UpdateLookAt();
UFUNCTION(BlueprintPure, meta = (WorldContext = "Context"), Category = "Luprex|Input Mode")
static ElxInputMode GetInputMode(const UObject *Context);
UPROPERTY(BlueprintAssignable, Category = "Luprex|Input Mode")
FlxInputModeChanged OnInputModeChanged;
// Called by GameMode each tick. GCs dead requests and will
// eventually reconcile focus, pointer, and capture state.
void UpdateInputMode();
@@ -97,7 +89,4 @@ public:
UlxRootCanvasPanel *RootCanvas = nullptr;
bool MustCallLookAtChanged = false;
UPROPERTY()
ElxInputMode CurrentInputMode = ElxInputMode::KeyboardMouse;
};