CachedEntityQuery.GetEnumerator() Method
Definition
Namespace: Brine2D.ECS.Query
Returns a struct enumerator over the cached \(Entity, Component\) pairs. Use with foreach for zero-allocation iteration; no delegate or closure is created.
C#
public System.Collections.Generic.List<(Brine2D.ECS.Entity Entity,T1 Component)>.Enumerator GetEnumerator();