Returns component which wraps an object of the provided type .
- Parameters
-
| type | Type of the wrapped object. |
| includeInactive | Should components on inactive GameObjects be included in the search? |
- Returns
- Component of type WrapperOf<TWrapped>, if found; otherwise,
null