Method RemoveComponent
RemoveComponent(Type)
Remove a Type component from this container.
Declaration
public bool RemoveComponent(Type type)
Parameters
Type | Name | Description |
---|---|---|
Type | type | Type of the component. |
Returns
Type | Description |
---|---|
bool |
RemoveComponent<T>()
Remove all T
components from this container.
Declaration
public bool RemoveComponent<T>() where T : TComponent
Returns
Type | Description |
---|---|
bool |
Type Parameters
Name | Description |
---|---|
T | Type of the component. |