class in UnityEditor.SearchService
実装インターフェース:ISearchContext
A search context implementation for ObjectSelector search engines. All methods that are called on an ObjectSelector search engine, and expect a ISearchContext, receive an object of this type.
allowedInstanceIds | IEnumerable of integers that contains the instanceIds of objects that the search can include in its results. |
currentObject | Identifies the currently selected object. |
editedObjects | When the object selector is opened from an Inspector, this property indicates which objects are currently being edited. |
engineScope | An enum that identifies the scope of the current search. This property is automatically set to SearchService.ObjectSelector.EngineScope. |
guid | A unique identifier for this search context. |
requiredTypeNames | An IEnumerable of strings that contains the type name constraints for this search. |
requiredTypes | An IEnumerable of types that contains the type constraints for this search. |
selectorConstraint | A function that, when called, indicates whether the object selector should show an item. |
visibleObjects | Indicates which categories of objects are visible in the window. For example, GameObjects, Assets, or both. |