Returns the first object of type TWrapped wrapped by a loaded Object of type TWrapper .
- Template Parameters
-
| TWrapper | Type of the wrapping Object. |
| TWrapped | Type of the wrapped object. |
- Parameters
-
| includeInactive | Should components on inactive GameObjects be included in the search? |
- Returns
- object of type TWrapped , if found; otherwise,
null
- Type Constraints
-
| TWrapper | : | Object | |
| TWrapper | : | IWrapper<TWrapped> | |