-
-
Notifications
You must be signed in to change notification settings - Fork 13
ECS Basics
Jeff Campbell edited this page Jan 13, 2021
·
1 revision
EntitasRedux is an entity-component-system or ECS framework for Unity. In this architecture, a developer's general workflow consists of:
- Defining one or more
Components
representing distinct pieces of data about anEntity
representing an object in the ECS simulation. - Executing code-generation using Genesis in the Unity Editor to create and/or extend the EntitasRedux framework for those
Components
. - Implementing
Systems
that represent the stateless behaviour or mechanical logic of the simulation working across multiple entities.
In this way Systems
are stateless executors of game logic while most of the game's data and state lies on the Components
of Entities
themselves; Entities
are little more than a simple unique object whose state is entirely contained on its Components
and does not contain any behaviour of their own other than that imparted by Systems
.
Essentials
- Components: Data
- Entities: Simple Unique Objects
- Systems: Behavior/Mechanics/Logic