Skip to content

Latest commit

 

History

History
41 lines (22 loc) · 1.95 KB

File metadata and controls

41 lines (22 loc) · 1.95 KB

Unity Data-Oriented Tech Stack

This documentation covers the three main aspects of Unity's Data-Oriented Tech Stack (DOTS): Unity Entity-Component-System (ECS) as covered by the Entities package, Unity C# Job System, and the Unity Burst compiler. As Entities is the primary package involved in DOTS, it is described below:

About Entities

Use the Unity Entities package to use Entity-component-systems (ECS) in your game.

Installing Entities

To install this package, follow the instructions in the Package Manager documentation.

Note: While this package is in preview, the Package Manager needs to be configured to show Preview Packages. (Under the Advanced drop-down menu, enable Show preview packages.) Then search for the Entities package.

Using Entities

Components hold data, systems process that data. Entities refer to individual instances of component data. For more information, see the DOTS manual or the Entities API.

Entity Debugger

You can look at currently running systems and filter entities by archetype in the Entity Debugger window:

An entity and some running systems in the Entity Debugger window.

Technical details

Requirements

This version of Entities is compatible with the following versions of the Unity Editor:

  • 2018.3.0b and later (recommended)

Samples contents

The following table indicates the sample folders in the package where you can find useful resources:

Location Description
Samples/Assets/HelloECS Contains very basic "hello world" sample for getting started with entity-component-systems.
Samples/Assets/Advanced Contains the boid simulation for understanding more complex simulations