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

◆ Wrapper()

static IWrapper Sisus.Init.Find.Wrapper ( [DisallowNull] Type type,
bool includeInactive = false )
static

Returns component which wraps an object of the provided type .

Parameters
typeType of the wrapped object.
includeInactiveShould components on inactive GameObjects be included in the search?
Returns
Component of type WrapperOf<TWrapped>, if found; otherwise, null