Gets one resolved prompt from the focused surface by surface index.
Use this read path when get focused prompt by surface index from UInteractionUIManagerSubsystem. Check the return value before using OutPrompt.
UFUNCTION(BlueprintPure, Category = "InteractionUI")
bool TryGetFocusedPromptBySurfaceIndex(int32 SurfaceIndex, FInteractionRuntimeResolvedPrompt& OutPrompt) const;
Parameters
Inputs
SurfaceIndex
Index of the prompt surface entry.
Outputs
OutPrompt
Receives the resolved prompt entry.
Return Value
bool
True when OutPrompt was found and written to the output parameter.
Use Cases
- Read focused prompt by surface index and handle the missing-data case explicitly.