Method GetSharedComponentData
GetSharedComponentData<T>(Entity)
Obsolete. Use GetSharedComponentManaged<T>(Entity) instead.
Declaration
[Obsolete("Use GetSharedComponentManaged<T> (UnityUpgradable) -> GetSharedComponentManaged<T>(*)", true)]
public T GetSharedComponentData<T>(Entity entity) where T : struct, ISharedComponentData
Parameters
Type | Name | Description |
---|---|---|
Entity | entity | The entity. |
Returns
Type | Description |
---|---|
T |
Type Parameters
Name | Description |
---|---|
T | The type of entity |