Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


SceneSearchContext

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.
Read time 1 minuteLast updated 6 days ago

Definition

public class SceneSearchContext : ISearchContext

Properties

Property

Description

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.
rootIteratorThe root HierarchyIterator on which the search is started.