Documentation

Unity Engine


Unity Engine


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
Warning
Deprecated. Use SetSharedComponent (RemovedAfter Entities 1.0)
public void SetSharedComponentForEntityQuery<T>(EntityQuery entityQuery, T component) where T : unmanaged, ISharedComponentData

Parameters

entityQuery

The query specifying which entities to add the component value to.

component

T
The component value to add.