created on 2023-02-25
Unity DOTS
This post is going to be a summary of the official Entities package document, kind of a cheat-sheet.
The following operations are considered structural changes:
- Creating or destroying an entity
- Adding or removing components
- Setting a shared component value
Physics
-
All physics objects that are in the scene but outside the subscene will be ignored since they don't get converted to entities.
-
A
World
organises entities into isolated groups. A World owns both an EntityManager and a set of Sytems. In a multiplayer game, it makes sense that client and server are different Worlds.