Method HasComponent
HasComponent(Type)
Determine if a component exist in this container or dependencies recursively.
Declaration
public bool HasComponent(Type componentType)
Parameters
Type | Name | Description |
---|---|---|
Type | componentType | The component type. |
Returns
Type | Description |
---|---|
bool |
HasComponent<T>()
Determine if a component exist in this container or dependencies recursively.
Declaration
public bool HasComponent<T>() where T : TComponent
Returns
Type | Description |
---|---|
bool |
Type Parameters
Name | Description |
---|---|
T | The component type. |