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