ULimenChoiceWidget
Overview
ULimenChoiceWidget is a subclass of ULimenWidget designed to manage and display a set of gameplay choices. It provides functionality to set the choice data and handle user selections through delegates.
Properties
Type | Name | Access | Description |
|---|---|---|---|
FChoiceDelegate | OnChoiceSelected | BlueprintAssignable | A delegate that is called when a choice is selected by the user. |
Functions
Return Type | Signature | Description |
|---|---|---|
void | SetChoicesData(const FGameplayChoiceScreenData& ChoiceData) | Sets the choices data for the widget and triggers the |
void | MakeChoice(const FGameplayChoiceData& ChoiceData) | Broadcasts the selected choice to the |
Usage & Implementation Notes
The
SetChoicesDatafunction is used to update the choices displayed by the widget and notify any listeners that the data has been received.The
MakeChoicefunction is responsible for notifying the user interface about a choice selection, which in turn triggers theOnChoiceSelecteddelegate.