Version: 2022.3
LanguageEnglish
  • C#

IQueryNode

interface in UnityEditor.Search

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

Cancel

Description

Interface representing a query node.

Properties

childrenThe node's children. Can be null.
identifierA string representing this node and its children.
leafTrue if this node is a leaf. A leaf doesn't have any children.
parentParent of this node. Null if this node is the root.
skippedTrue if this node is skipped during evaluation. A node can be skipped if the QueryEngine was configured to skip unsupported nodes instead of generating errors.
tokenThe token used to build this node.
typeThe node's type.

Public Methods

QueryHashCodeReturns a hashcode for this node. Multiple nodes can have the same hashcode if they have the same identifier.