SetSharedComponentForEntityQuery<T>(EntityQuery, T)
Obsolete. Use EntityCommandBuffer.SetSharedComponent instead.
Read time 1 minuteLast updated 2 days ago
Definition
- Type: Method
- Namespace: Unity.Entities
- Assembly: UnityEngine.EntitiesModule
public void SetSharedComponentForEntityQuery<T>(EntityQuery entityQuery, T component) where T : unmanaged, ISharedComponentData
Parameters
The query specifying which entities to add the component value to.