Version: 2022.2
LanguageEnglish
  • C#

AdvancedObjectSelectorParameters

struct in UnityEditor.SearchService

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

Struct containing the different parameters passed to the advanced object selector.

Not all properties are set for each AdvancedObjectSelectorEventType.

Properties

contextThe search context.
searchFilterSearch filter to use. Only available during AdvancedObjectSelectorEventType.SetSearchFilter.
selectorClosedHandlerFunction to call when the advanced Object Selector is closed. Only available during AdvancedObjectSelectorEventType.OpenAndSearch.
trackingHandlerFunction to call when tracking the selection in the advanced Object Selector. Only available during AdvancedObjectSelectorEventType.OpenAndSearch.