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

◆ FindAllInChildren< T >()

T[] Sisus.Init.IWrapper.FindAllInChildren< T > ( )

Gets references to all objects of type T found on the GameObject the wrapper is attached to, or any of its children.

Template Parameters
TThe type of objects to retrieve.
Returns
An array containing all matching objects of type found on the GameObject the wrapper is attached to and its children, if the wrapper is attached to one; otherwise, an empty array.

Init.Find.AllInChildren<T>(GameObject, bool)