Currently ,tag component works as very efficient (doesn’t need chunk move) boolean property.
But sometimes we need to distinguish more than two state.
From when Tag Component does not trigger chunk move?
Adding/Removing Tag Component will triggering Chunk move a far as I know.
And the enum you need can be achieved by ISharedComponentData with an enum field.
When we trigger tag component altering per EntityQuery, it just triggers altering tag component of the chunk itself.
Okay, you mean query overload of EnityManager And ECB. I got it.
1 Like