Version: 2020.2

SceneSearchContext

class in UnityEditor.SearchService


实现接口:ISearchContext

切换到手册

描述

A search context implementation for Scene search engines. All methods that are called on a Scene search engine, and expect a ISearchContext, receive an object of this type.

变量

engineScopeAn enum that identifies the scope of the current search. This property is automatically set to Scene.EngineScope.
guidA unique identifier for this search context.
requiredTypeNamesAn IEnumerable of strings that contains the type name constraints for this search.
requiredTypesAn IEnumerable of types that contains the type constraints for this search.
rootPropertyThe root HierarchyProperty on which the search is started.