What problem does it solve?
Unity developers often struggle to implement high-performance, data-oriented game logic without a clear pattern.
Core Features & Use Cases
- Basic ECS Setup: establish pure data components and minimal systems to bootstrap ECS-driven gameplay.
- Systems with ISystem (Recommended): leverage Burst-compiled, unmanaged systems for maximum performance.
- Entity Queries: define efficient queries to iterate over relevant entities.
- Entity Command Buffers (ECB): safely perform structural changes without stalling the main thread.
- Aspect (Grouping Components): encapsulate related data for cleaner, more maintainable code.
- Singleton Components: store global, game-wide state in a single, accessible component.
- Baking (Converting GameObjects): convert traditional GameObjects to ECS entities via authoring components.
- Jobs with Native Collections: employ Unity.Jobs and native containers for parallel data processing.
Quick Start
Open a new Unity project, enable DOTS packages, and start with the Basic ECS Setup pattern to bootstrap an ECS-based workflow.