ECS packages
Unity's entity component system (ECS) is made up of several packages, and parts of the Unity engine which work together to help you create high-performance code.
The main parts of Unity you need to use:
- Entities: An implementation of the Entity, Component, System (ECS) pattern.
- C# Job System: A solution for fast, safe, multi-threaded code.
- Burst compiler: A C# compiler that generates highly optimized code.
- Collections: A set of unmanaged collection types, such as lists and hash maps. They're useful in jobs and Burst-compiled code because those contexts can only access unmanaged data.
- Mathematics: A math library which is specially optimized in Burst-compiled code.
Built on top of these core parts are additional DOTS packages:
- Physics (this package): A stateless and deterministic physics system for entities.
- Netcode: A client-server netcode solution for entities.
- Entities Graphics: Uses the scriptable render pipeline (SRP) to render entities.