GetBuffer<T>(Entity, bool)
Gets the dynamic buffer of an entity.
Read time 1 minuteLast updated a day ago
Definition
- Type: Method
- Namespace: Unity.Entities
- Assembly: UnityEngine.EntitiesModule
public static DynamicBuffer<T> GetBuffer<T>(Entity entity, bool isReadOnly = false) where T : unmanaged, IBufferElementData
Parameters
Returns
Type | Description |
|---|---|
| DynamicBuffer<T> | The buffer. |