β¨ Chooser (Blueprint & C++)
Short Description
The UGorgeousConditionalObjectChooser class provides a mechanism to select an Object Variable based on specified conditions within the Gorgeous Things ecosystem.
Long Description
UGorgeousConditionalObjectChooser serves as a decision-making component that dynamically selects Object Variables based on condition evaluation. This class enables conditional branching in data flow and object selection, allowing for more complex and responsive systems within the Gorgeous Things framework.
π Features
DecideCondition
Selects an object variable based on the condition check. This function evaluates the ConditionCheck and returns the appropriate Object Variable from the Conditions array.
| Parameter | Type | Description | 
|---|---|---|
ReturnType | 
UGorgeousObjectVariable* | 
The selected Object Variable based on the condition evaluation. | 
Important
Ensure that both the ConditionCheck and Conditions array are properly set up before calling this function. If the condition evaluation fails or no matching condition is found, the function might return null.
Variable Properties
| Property | Type | Description | 
|---|---|---|
ConditionCheck | 
UGorgeousCondition* | 
The condition check object used to determine the selection. | 
Conditions | 
TArray<UGorgeousObjectVariable*> | 
The array of object variables to choose from based on the condition. |