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

◆ FindInParents< T >()

T Sisus.Init.IWrapper.FindInParents< T > ( )

Gets a reference to an object of type T found on the GameObject the wrapper is attached to, or any of its parents.

Template Parameters
TThe type of object to retrieve.
Returns
An object of type , if the wrapper is attached to a GameObject that has one attached to it or any of its parents; otherwise, null.

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