Documentation

Unity Engine


Unity Engine


WithEntityAccess()

Invoke this method if you wish to retrieve a tuple with an Entity parameter, thus giving you direct access to an entity.
Read time 1 minuteLast updated a day ago

Definition

  • Type: Method
  • Namespace: Unity.Entities
  • Assembly: UnityEngine.EntitiesModule
public QueryEnumerableWithEntity<T1, T2> WithEntityAccess()

Returns

Type

Description

QueryEnumerableWithEntity<T, T>QueryEnumerableWithEntity, which allows enumerating over all RefRO, RefRW, EnabledRefRO and EnabledRefRW components as well as entities that match the constructed Query.