Unity Engine documentation Script Reference Unity.Hierarchy HierarchySearchFilter Encapsulates all data needed to filter a hierarchy.
Read time 1 minute
Last updated 11 days ago Definition
Type: Struct
Namespace: Unity.Hierarchy
Assembly: UnityEngine.HierarchyCoreModule
public struct HierarchySearchFilter
Properties
Property Description IsValid Whether the filter is valid and has a name. Name The name of the filter. Op The filter search operator. Value The textual value of the filter.
Static Properties
Property Description Invalid The default invalid HierarchySearchFilter. This assumes the Hierarchy has a query, but is invalid, so no nodes are shown.
Methods
Method Description ToString Converts a filter to its full textual value: \<FilerName\>\<Filter operator\>\<FilterValue\>. The textual value is escaped with double quotation marks if it is necessary.
Static Methods
Method Description ToOp Converts a textual value to its operator value if possible. ToString Converts an operator to its textual value.