GetEnumerator()
Returns an enumerator over the entities in this query.
Read time 1 minuteLast updated a day ago
Definition
- Type: Method
- Namespace: Unity.Entities
- Assembly: UnityEngine.EntitiesModule
public IEnumerator<(T1, T2, T3, T4)> GetEnumerator()
Returns
Type | Description |
|---|---|
| IEnumerator<ValueTuple<T, T, T, T>> | QueryEnumerableWithEntity, which allows enumerating over all RefRO, RefRW, EnabledRefRO and EnabledRefRW components as well as entities that match the constructed Query. |