This guide is meant to walk users through the essential parts of the Entities API. The interspersed samples demonstrate how to put things together.
The guide assumes familiarity with the basic Entities concepts, and some details are left to the API reference.
setting up a DOTS project | Create a DOTS project with the most commonly needed packages and settings. |
EntityManager |
Create and destroy entities. Also add and remove the components of entities. |
EntityQuery |
Find all entities with a specified set of component types. |
SystemBase |
Systems are the core units of code in ECS. |
EntityCommandBuffer |
Record intended changes to entities and their components for playback later. |
Entities.ForEach |
A more convenient way to create and schedule jobs that read and write entities. |
subscenes and conversion | Create entities from scenes. |
sample: HelloCube | Displays a rotating cube using Unity.Transforms and Unity.Rendering.Hybrid . |