Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Add(ICondition)

Adds an existing condition to this group.
Read time 1 minuteLast updated 6 days ago

Definition

void Add(ICondition condition)

Parameters

condition

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.