New Features
Update
attribute is now Query
.
- Improved query performance by caching the
Query
struct.
- Queries can now be generated for every partial class.
[Data]
attributes which mark parameters being passed to the generated query.
- Generated querys now require a World and
Data
parameters as params.
New generated queries
[Query]
public void MoveEntity([Data] in float time, ref Position pos, ref Velocity vel){
pos.X += time * vel.X;
pos.Y += time * vel.Y;
}
// Somewhere else where the method is acessable
MoveEntityQuery(someWorld, someTime); // Call the generated method, multiple "[Data]" sources are allowed.