|
Init(args)
Scripting Reference
|
◆ InParents< T >() [2/2]
Finds object of type T by searching the gameObject and all of its parent GameObjects, including grandparents. The GameObject and its parents are searched for a Component which is of type T , derives from type T or implements an interface of type T . Objects wrapped by IWrapper<T> components are also considered in the search.
Objects match the search criteria if their class is of type T , if their class derives from a base class of type T , or their class implements an interface of type T .
|