Version: 2021.1

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.