Method SetSharedComponentManaged
SetSharedComponentManaged<T>(EntityQuery, T)
Obsolete. Managed shared components are no longer supported.
Declaration
[Obsolete("Managed ISharedComponentData support is deprecated and will be removed. Convert <T> to an unmanaged ISharedComponentData and use the equivalent without the 'Managed' suffix. First deprecated in 6.6.", true)]
public void SetSharedComponentManaged<T>(EntityQuery entityQuery, T component) where T : struct, ISharedComponentData
Parameters
| Type | Name | Description |
|---|---|---|
| EntityQuery | entityQuery | The query specifying the entities to which the component is added. |
| T | component | The component value to set. |
Type Parameters
| Name | Description |
|---|---|
| T | The type of shared component to set. |