Documentation

Unity Engine


Unity Engine


RemoveComponentForEntityQuery

Obsolete. Use EntityCommandBuffer.RemoveComponent instead.
Read time 1 minuteLast updated 2 days ago

Definition

  • Type: Method
  • Namespace: Unity.Entities
  • Assembly: UnityEngine.EntitiesModule

RemoveComponentForEntityQuery(EntityQuery, ComponentType)

Warning
Deprecated. Use RemoveComponent (RemovedAfter Entities 1.0)
public void RemoveComponentForEntityQuery(EntityQuery entityQuery, ComponentType componentType)

Parameters

entityQuery

The query specifying the entities from which the component is removed.

componentType

The types of component to remove.

RemoveComponentForEntityQuery<T>(EntityQuery)

Warning
Deprecated. Use RemoveComponent (RemovedAfter Entities 1.0)
public void RemoveComponentForEntityQuery<T>(EntityQuery entityQuery)

Parameters

entityQuery

The query specifying the entities from which the component is removed.

RemoveComponentForEntityQuery(EntityQuery, ComponentTypeSet)

Warning
Deprecated. Use RemoveComponent (RemovedAfter Entities 1.0)
public void RemoveComponentForEntityQuery(EntityQuery entityQuery, in ComponentTypeSet componentTypeSet)

Parameters

entityQuery

The query specifying the entities from which the components are removed.

componentTypeSet

The types of components to remove.