Add(ICondition)
Adds an existing condition to this group.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Method
- Namespace: Unity.GraphToolkit.Editor
- Assembly: UnityEditor
void Add(ICondition condition)
Parameters
The condition to add.
Remarks
If the condition already belongs to another group, it is first removed from that group. The condition is appended at the end of this group. Throws ArgumentException when the condition is this group or a group that contains this group, or when the condition, or one of its nested conditions, uses a variable from another graph.