文档

Unity Engine

Unity Engine

ToOp(string)

Converts a textual value to its operator value if possible.
阅读时间1 分钟最后更新于 12 小时前

Definition

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
.