AddComponentForEntityQuery
Obsolete. Use EntityCommandBuffer.AddComponent instead.
Read time 1 minuteLast updated 2 days ago
Definition
- Type: Method
- Namespace: Unity.Entities
- Assembly: UnityEngine.EntitiesModule
AddComponentForEntityQuery(EntityQuery, ComponentType)
Obsolete. Use EntityCommandBuffer.AddComponent instead.
public void AddComponentForEntityQuery(EntityQuery entityQuery, ComponentType componentType)
Parameters
The query specifying the entities to which the component is added.
The type of component to add.
AddComponentForEntityQuery<T>(EntityQuery)
Obsolete. Use EntityCommandBuffer.AddComponent instead.
public void AddComponentForEntityQuery<T>(EntityQuery entityQuery)
Parameters
The query specifying the entities to which the component is added.
AddComponentForEntityQuery<T>(EntityQuery, T)
Obsolete. Use EntityCommandBuffer.AddComponent instead.
public void AddComponentForEntityQuery<T>(EntityQuery entityQuery, T value) where T : unmanaged, IComponentData
Parameters
The query specifying the entities to which the component is added.
AddComponentForEntityQuery(EntityQuery, ComponentTypeSet)
Obsolete. Use EntityCommandBuffer.AddComponent instead.
public void AddComponentForEntityQuery(EntityQuery entityQuery, in ComponentTypeSet componentTypeSet)
Parameters
The query specifying the entities to which the components are added.
The types of components to add.