Version: 2020.3

ProjectSearchContext

class in UnityEditor.SearchService


实现接口:ISearchContext

切换到手册

描述

A search context implementation for Project search engines. All methods that are called on a Project 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 Project.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.