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

◆ GameObjectWith< T >()

static GameObject Sisus.Init.Find.GameObjectWith< T > ( bool includeInactive = false)
static

Returns GameObject containing the first loaded Component that is of type T or implements an interface of type T .

Parameters
includeInactiveShould inactive GameObjects be included in the search?
Returns
GameObject containing Component that is of type T or implements an interface of type T , if found; otherwise, null.