Version: 2022.3
public IEnumerable<Type> requiredTypes ;

描述

IEnumerable of types that contains the type constraints for this search.

These constraints provide the types of the objects included in the search. This IEnumerable can be null or empty. If it is not empty, but contains null elements, you can find the required type for the search in ISearchContext.requiredTypeNames instead.