文档

Unity Engine

Unity Engine

AdvancedObjectSelectorParameters

Struct containing the different parameters passed to the advanced object selector.
阅读时间1 分钟最后更新于 1 个月前

Definition

public readonly struct AdvancedObjectSelectorParameters

Remarks

Not all properties are set for each AdvancedObjectSelectorEventType.

Properties

Property

Description

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.