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

◆ WrapperOf() [2/2]

static bool Sisus.Init.Find.WrapperOf ( [DisallowNull] object wrapped,
[NotNullWhen(true), MaybeNullWhen(false)] out IWrapper result,
bool includeInactive = false )
static

Returns the component which wraps the wrapped .

Parameters
wrappedThe wrapped object.
resultWhen this method returns, contains loaded T instance, if found; otherwise, null. This parameter is passed uninitialized.
includeInactiveShould components on inactive GameObjects be included in the search?
Returns
true if wrapper was found; otherwise, false.