Version: 2022.2

QueryToken

struct in UnityEditor.Search

切换到手册

描述

Represents a token of a query string.

变量

lengthThe length of the token. Can be different than the length of the text.
positionThe position of the token in the query string.
textThe text representing the token.

构造函数

QueryTokenCreates a token from a string and a position.