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

◆ WrappedObject< TWrapped >()

static TWrapped Sisus.Init.Find.WrappedObject< TWrapped > ( bool includeInactive = false)
static

Returns the first object that is of type TWrapped or implements an interface of type TWrapped and is wrapped by an a loaded Object that implements IWrapper.

Template Parameters
TWrappedType of the wrapped object.
Parameters
includeInactiveShould inactive GameObjects be included in the search?
Returns
object of type TWrapped , if found; otherwise, null