|
|
◆ 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
-
| wrapped | The wrapped object. |
| result | When this method returns, contains loaded T instance, if found; otherwise, null. This parameter is passed uninitialized. |
| includeInactive | Should components on inactive GameObjects be included in the search? |
- Returns
true if wrapper was found; otherwise, false.
|