GetComponentDataFromEntity<T>(bool)
Obsolete. Use ComponentSystemBase.GetComponentLookup instead.
Read time 1 minuteLast updated a day ago
Definition
- Type: Method
- Namespace: Unity.Entities
- Assembly: UnityEngine.EntitiesModule
public ComponentLookup<T> GetComponentDataFromEntity<T>(bool isReadOnly = false) where T : unmanaged, IComponentData
Parameters
Whether the data is only read, not written. Access data as read-only whenever possible.
Returns
Type | Description |
|---|---|
| ComponentLookup<T> | All component data of type T. |
Remarks
Obsolete. Use ComponentSystemBase.GetComponentLookup instead.
Gets an dictionary-like container containing all components of type T, keyed by Entity.