Hey,
I have general questions about DOTS just to be sure that I understand the small bit of knowledge I got here and there.
Am I correct at representing each system with these Diagrams I made ? This is how I represent these concepts in my mind even though I never went into looking at the documentation to understand how it works but the most logical way would be this way which would explain why it goes faster.
Here the example is a simple cube with color and size fields and 2 methods, 1 to get its color and 1 to set its color. Here the example use color field and SetColor() method.
By Classical, I mean general use of unity which most of the time uses Monobehaviour but sometimes not. In that diagram, the computer calls the method SetColor() on each instance, which makes that method duplicated in memory (except if I'm wrong on this and every instance points to the same spot in memory for that method).
LEGEND :
- Top elements = Input
- Bottom elements = output
- Right pointing Red arrow = Computer processing a current element (the element on its right)
- Arrows = Processing flow
If it's not correct please let me know why so I can understand better, thank you 🙂