Version: 2023.1

AdvancedObjectSelectorParameters

struct in UnityEditor.SearchService

切换到手册

描述

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

Not all properties are set for each AdvancedObjectSelectorEventType.

变量

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.