Documentation

Unity Engine

Download Unity

Unity Engine

requiredTypes

IEnumerable of types that contains the type constraints for this search.
Read time 1 minuteLast updated a month ago

Definition

IEnumerable<Type> requiredTypes { get; }

Remarks

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.