70. Query<Position, Speed> q
void OnUpdate()
{
ForEach(Position p, Speed s)
{
p.Value += s.Value;
}
}
int2 Value
int2 Value
Speed
Position
int2 Value
int2 Value
Speed
Position
int2 Value
int2 Value
Speed
Position
MoveSystem
希望する組み合わせを持つオブジェクトを集める
集めたデータを一斉に処理
Componentが参照を揃えるのではなく、
必要なComponentが揃っているオブジェクトを処理する