Returns the text of the first visible prompt part that matches the provided type priority order.
Use this read-only check while building core concepts logic. It does not author new target definition data by itself.
UFUNCTION(BlueprintPure, Category = "InteractionUI|Prompt")
static FText GetPromptPartTextByPriority( const FInteractionUIPromptPresentation& Presentation, const TArray<EInteractionUIPromptPartType>& PreferredTypes);
Parameters
Inputs
Presentation
Prompt presentation to read or format.
PreferredTypes
Preferred prompt part types to search for.
Return Value
FText
Returns the text of the first visible prompt part that matches the provided type priority order.
Use Cases
- Read prompt part text by priority and handle the missing-data case explicitly.