Local player subsystem that automatically binds to the current pawn interactor, drives prompt projection, manages the default prompt widget, binds visible controls, and exposes focused prompt data.
UCLASS()
class INTERACTIONFRAMEWORKUI_API UInteractionUIManagerSubsystem : public ULocalPlayerSubsystem, public FTickableGameObject
Functions
BindInteractor
Binds the UI manager to an interactor component for the local player.
GetCanonicalRouteProjection
Returns current canonical route projection for the owner HUD.
SetDefaultWidgetClass
Sets the default widget class used for generated interaction point widgets.
SuppressInteractionPrompts
Suppresses all generated interaction prompt widgets and prompt-driven input for this local player.
TryGetFocusedPromptBySurfaceIndex
Gets one resolved prompt from the focused surface by surface index.
ClearInteractionPromptSuppression
Clears one all-prompt suppression reason for this local player.
TryGetFocusedResolvedSurface
Gets the resolved surface for the currently focused point, when one exists.
AreInteractionPromptsSuppressed
Returns true while generated interaction prompts and prompt-driven input are suppressed.
SuppressNonFocusedInteractionPrompts
Suppresses generated prompt widgets that are not the focused interaction widget for this local player.
ClearNonFocusedInteractionPromptSuppression
Clears one non-focused prompt suppression reason for this local player.
AreNonFocusedInteractionPromptsSuppressed
Returns true while non-focused generated interaction prompt widgets are suppressed.
Use Cases
- Drive local prompt UI for the current local player interactor.
- Manually bind custom interactors for non-pawn UI ownership or debug tools.
Notes
- The standard local pawn path is automatic; manual BindInteractor is for custom cases.