Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


ToOp(string)

Converts a textual value to its operator value if possible.
Read time 1 minuteLast updated 13 days ago

Definition

  • Type: Method
  • Namespace: Unity.Hierarchy
  • Assembly: UnityEngine.HierarchyCoreModule
public static HierarchySearchFilterOperator ToOp(string op)

Parameters

The textual operator. For example: =, <=, :, and ....

Returns

Type

Description

HierarchySearchFilterOperatorThe
HierarchySearchFilterOperator
that matches the parsed string. For example, this function parses the string "=" and converts it to
HierarchySearchFilterOperator.Equal
.