Method RemoveComponentForEntityQuery
RemoveComponentForEntityQuery(EntityQuery, ComponentType)
Obsolete. Use Remove
Declaration
[Obsolete("Use RemoveComponent (RemovedAfter Entities 1.0) (UnityUpgradable) -> RemoveComponent(*)")]
public void RemoveComponentForEntityQuery(EntityQuery entityQuery, ComponentType componentType)
Parameters
Type | Name | Description |
---|---|---|
Entity |
entityQuery | The query specifying the entities from which the component is removed. |
Component |
componentType | The types of component to remove. |
RemoveComponentForEntityQuery<T>(EntityQuery)
Obsolete. Use Remove
Declaration
[Obsolete("Use RemoveComponent (RemovedAfter Entities 1.0) (UnityUpgradable) -> RemoveComponent<T>(*)")]
public void RemoveComponentForEntityQuery<T>(EntityQuery entityQuery)
Parameters
Type | Name | Description |
---|---|---|
Entity |
entityQuery | The query specifying the entities from which the component is removed. |
Type Parameters
Name | Description |
---|---|
T | The type of component to remove. |
RemoveComponentForEntityQuery(EntityQuery, in ComponentTypeSet)
Obsolete. Use Remove
Declaration
[Obsolete("Use RemoveComponent (RemovedAfter Entities 1.0) (UnityUpgradable) -> RemoveComponent(*)")]
public void RemoveComponentForEntityQuery(EntityQuery entityQuery, in ComponentTypeSet componentTypeSet)
Parameters
Type | Name | Description |
---|---|---|
Entity |
entityQuery | The query specifying the entities from which the components are removed. |
Component |
componentTypeSet | The types of components to remove. |