Documentation

Unity Engine

Unity Engine

GetComponentDataFromEntity<T>(bool)

Obsolete. Use SystemState.GetComponentLookup instead.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Method
  • Namespace: Unity.Entities
  • Assembly: UnityEngine.EntitiesModule
Warning
Deprecated. This method has been renamed to GetComponentLookup\<T\>(). (RemovedAFter Entities 1.0)
public ComponentLookup<T> GetComponentDataFromEntity<T>(bool isReadOnly = false) where T : unmanaged, IComponentData

Parameters

isReadOnly

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.