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

◆ All< T >() [3/5]

static T[] Sisus.Init.Find.All< T > ( 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 ScriptableObject or objects that are wrapped by a IWrapper<T> can be returned.

Returns
An array containing all found instances; if no results were found, then an empty array.