We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
A enumerable query returns results as an enumerable, which can be used in a normal foreach loop.
foreach
foreach (var (entity, c1, c2) in world.Query<Component1, Component2>()) p.Ref.Value += v.Ref.Value;
This is the slowest query method, but is often the most convenient and offers the ability to break out of the loop early.