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