Correct
Correct
Correct. ComponentDataArray and co basically do the same in the background.
Some issues I see:
- GetArchetypeChunkEntityType/GetArchetypeChunkComponentType has to be executed in OnUpdate as this call is responsible for dependency tracking.
- There currently is nothing like Injection for this, you actually have to execute your queries:
var chunks = EntityManager.CreateArchetypeChunkArray(query, Allocator.TempJob);
Currently it is but I think they are working on it.
3 Likes