Resolves which widget class should be used for the supplied interaction context.
Override this on a widget payload when a target, point, command, or context should choose a prompt widget class dynamically.
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "InteractionRuntime|WidgetPayload")
TSubclassOf<UUserWidget> ResolveWidgetClass(const FInteractionRuntimeRequirementContext& Context) const;
Parameters
Inputs
Context
Interaction context used by this operation.
Return Value
TSubclassOf<UUserWidget>
Widget class resolved for the payload.
Use Cases
- Use during core concepts workflows when resolves which widget class should be used for the supplied interaction context..