Version: 2023.2

SearchResult

struct in UnityEditor.Search

切换到手册

描述

Contains a SearchItem that was retrieved from a query.

静态变量

nilRepresents a null search result.

变量

idID of the document containing that result.
indexIndex of the document containing that result.
scoreRelavance score of the result. A lower score indicates it is a more relevant result.
validChecks if a search result is valid.

构造函数

SearchResultCreates a new SearchResult.

公共函数

CompareToCompares Search Results using their index values.
EqualsCompare Search Result using their index values.
GetHashCodeComputes the hash code for this SearchResult from its index property.
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961