Component-Based Design & ECS Design
Table of Contents
1. Component Base Design
Like Unity 3D, u can apply different component into to game object(entity) like Transform, Mesh and box collider.
2. ECS
ECS - Entity Component-System Design
Entities:
- Simply an ID
- They represent the object that populate your game scene.
Components:
- Component are pure data
- They are organized the data itself rather than by entity.
System:
- Systems are the logic(code) that transforms componetns from one state to the next state.