Method GetEntityComponentData
GetEntityComponentData<T>()
Get a copy of data for a component on the entity associated with the controller. This can only be called from PreparePredictedData.
Declaration
public T GetEntityComponentData<T>() where T : unmanaged, IComponentData
Returns
| Type | Description |
|---|---|
| T | Copy of component data of type |
Type Parameters
| Name | Description |
|---|---|
| T | Unmanaged type of IComponentData. |