Version: Unity 6.1 Alpha (6000.1)
LanguageEnglish
  • C#

SearchValue

struct in UnityEditor.Search

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

SearchValue is used to extend a QueryEngine with custom type parsers and filter operators to search results by value.

A SearchValue is a structure that can hold a value of any type defined in SearchValue.ValueType. You can use this structure to add filtering capabilities to any QueryEngine for all the types supported in SearchValue.ValueType. See SearchValue.SetupEngine for more details.

Static Properties

invalidRepresent an invalid search value.

Properties

booleanBoolean value.
floatNumberNumber value.
textText representation of the value.
typeIndicates the concrete type of the search value.
validIndicates if the search value is valid.

Static Methods

SetupEngineExtend a QueryEngine to work with SearchValues.