Method SetSharedComponentForEntityQueryManaged
SetSharedComponentForEntityQueryManaged<T>(EntityQuery, T)
Obsolete. Use SetSharedComponentManaged<T>(EntityQuery, T, EntityQueryCaptureMode) instead.
Declaration
[Obsolete("Use SetSharedComponentManaged (RemovedAfter Entities 1.0) (UnityUpgradable) -> SetSharedComponentManaged<T>(*)")]
public void SetSharedComponentForEntityQueryManaged<T>(EntityQuery entityQuery, T component)
where T : struct, ISharedComponentData
Parameters
| Type | Name | Description |
|---|---|---|
| EntityQuery | entityQuery | The query specifying which entities to add the component value to. |
| T | component | The component value to set. |
Type Parameters
| Name | Description |
|---|---|
| T | The type of shared component to set. |