Chapter 9: The Data-Oriented Technology Stack in Unity
The Unity engine is a very developer-friendly engine. When developing game logic, Unity's GameObject-Components architecture can help developers develop functions quickly, and adding a new behavior to a GameObject in Unity just requires attaching the corresponding component to it. However, with today's games becoming more complex, this approach, while very developer-friendly, especially to those familiar with traditional Object-Oriented Programming (OOP) models, is not ideal for game performance and project maintainability.
Therefore, Unity introduced the Data-Oriented Technology Stack (DOTS) to allow developers to write game code using an alternative programming philosophy that is data-oriented rather than object-oriented. It also introduces multithreading capabilities to optimize the performance of the game.
The following key topics will be part of our learning path in this chapter:
- DOTS overview ...