docs.unity3d.com
    Show / Hide Table of Contents

    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.
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023