What problem does it solve?
This Skill provides production-ready patterns and best practices for leveraging Unity's Data-Oriented Technology Stack (DOTS), including the Entity Component System (ECS), Job System, and Burst Compiler, to build high-performance game experiences.
Core Features & Use Cases
- ECS Fundamentals: Understand the core concepts of ECS, components, and systems.
- DOTS Patterns: Implement common patterns like basic ECS setup, systems with
ISystem, entity queries, command buffers, aspects, singleton components, baking, and jobs with native collections.
- Performance Optimization: Learn tips and best practices for maximizing performance using Burst, parallel jobs, and efficient data handling.
- Use Case: When developing a Unity game that needs to manage thousands of entities efficiently or optimize CPU-bound game logic, this Skill provides the architectural patterns and code examples to achieve high performance.
Quick Start
Show me the code for a basic Unity ECS setup with a Speed component and a MovementSystem.