Interface for the built-in condition that compares a graph variable against a constant value.
A variable condition records the variable to compare, the comparison operator, and the constant value
to compare against; it does not evaluate them. When traversing a transition's condition tree with
IGroupCondition.Get, test each element for this interface to read variable
conditions. IVariableCondition.Variable and IVariableCondition.Value are null when no variable is assigned
to the condition or when the assigned variable was deleted from the graph.
This interface is implemented by Unity and is not intended to be implemented by user code.
| Property | Description |
|---|---|
| Comparison | The comparison operator applied between the variable and IVariableCondition.Value. |
| Value | The constant value the variable is compared against, boxed as Object, or null when no variable is assigned. |
| Variable | The variable the condition compares, or null when no variable is assigned or the variable was deleted from the graph. |