IGroupCondition
interface in
Unity.GraphToolkit.Editor
Implements interfaces:ICondition
Suggest a change
Success!
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
Close
Submission failed
For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.
Close
Description
Interface for a condition that groups other conditions.
A group condition combines its nested conditions with the logical operation specified by
IGroupCondition.Operation. Nested conditions can themselves be group conditions, forming a
tree that expresses arbitrary boolean logic. To traverse the tree, enumerate
IGroupCondition.Get and check whether each element is itself an IGroupCondition.
This interface is implemented by Unity and is not intended to be implemented by user code.
Properties
| Property |
Description |
| Count |
The number of conditions nested in this group.
|
| Operation |
The logical operation applied to the nested conditions.
|
Public Methods
| Method |
Description |
| Add |
Adds an existing condition to this group.
|
| Clear |
Removes all conditions from this group.
|
| Get |
Retrieves the conditions nested in this group.
|
| Insert |
Inserts a condition into this group at the specified index.
|
| Remove |
Removes a condition from this group.
|