Conditions
A Condition is a class that's used to evaluate whatever value we want at runtime at any moment. It's mostly used within the UES. Any condition can be quickly added by implementing the ConditionField abstract class in a new class.
The current implementation of the ConditionField class.
Some examples of implementation of this class can be seen in the HasItemCondition class or VariableCondition class.
| GetResult() | This function returns the actual result of the condition evaluation with a bool. |
| DrawFields() | This function draws the field in the inspector for the condition. It can be used to assign values to the condition member. Note: using the EditorGUILayout class can simplify the process. |
| GetLabel() | This function returns the label to be displayed on top of a branch block. |