Init(args)
Scripting Reference
Loading...
Searching...
No Matches

◆ AllInParents< T >() [1/3]

static T[] Sisus.Init.Find.AllInParents< T > ( [DisallowNull] GameObject gameObject,
bool includeInactive = false )
static
Template Parameters
TType of the objects to find.

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 .

Only objects whose classes derive from Component or objects that are wrapped by a IWrapper<T> will be included in the results.

Returns
Array of zero or more objects of type T .