IForEach
csharp
public interface IForEach<T0, T1, T2>A struct visitor a query calls per entity, with no delegate to dispatch through.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
Constrained to struct where it is used, so the call is monomorphic and the JIT inlines the body into the loop. This is the form to reach for when the delegate's indirect call shows up in a profile.
Methods (1)
void Execute(ref T0 component0, ref T1 component1, ref T2 component2)Runs on one entity's components.
Used by (1)
- WorldQueryExtensionsVixen.Ecs