Generics and Generics in IJob?

Hi!

I have 6 different IBufferElementData which I use as different item categories.

If I want to change a value in the item categories, I have to use the appropriate IBufferElementData. Now I would have to write the code for each IBufferElementData. I would like to use generics.

Is there a way to use generics in ECS?
Is there a possibility to use generics in IJobs?

Thank you very much!

You’re allowed to have generic jobs, However, you can’t schedule generic jobs through generic functions. See Generic jobs | Burst | 1.8.18