Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


HierarchySearchFilterOperator

Represents options for search filter operators. A colon (:) is the "contains" operator. A "-" is a "not" operator.
Read time 1 minuteLast updated 12 days ago

Definition

  • Type: Enum
  • Namespace: Unity.Hierarchy
  • Assembly: UnityEngine.HierarchyCoreModule
public enum HierarchySearchFilterOperator

Fields

Value

Description

ContainsChecks if a filter value occurs within the right-hand operand. For instance, with a string value
Contains
uses
string.Contains
.
EqualChecks if a filter value is equal to the right-hand operand.
GreaterChecks if a numerical filter value is greater than the right-hand operand.
GreaterOrEqualChecks if a numerical filter value is greater than or equal to the right-hand operand.
LesserChecks if a numerical filter value is less than the right-hand operand.
LesserOrEqualChecks if a numerical filter value is less than or equal to the right-hand operand.
NotChecks for items that do not match the filter value.
NotEqualChecks if a filter value is different than the right-hand operand.