docs.unity.cn
    Show / Hide Table of Contents

    Further DOTS and ECS packages

    Unity's data oriented technology stack (DOTS) uses several packages (including Entities), 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 are:

    • Entities (this package): 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 the following entity component system (ECS) packages:

    • Unity Physics: A stateless and deterministic physics system for entities.
    • Havok Physics for Unity: A stateful and deterministic physics system for entities.
    • Netcode for Entities: A client-server netcode solution for entities.
    • Entities Graphics: Uses the scriptable render pipeline (SRP) to render entities.
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Wednesday, September 20, 2023