Struct

In Unity.Entities, most component data you author yourself is a struct (value type). Structs live in contiguous memory with other components in archetypes, which keeps access patterns predictable for CPU caches.

Topics in Struct

  1. Getting started
  2. Install dependencies
  3. Subscenes
  4. Authoring
  5. Struct
  6. MonoBehaviour
  7. IComponentData
  8. Baker<T>
  9. Unity.Entities
  10. GetEntity()
  11. CubeSpawnerSystem
  12. ISystem
  13. Unity.Transforms
  14. Unity.Mathematics
  15. Non-DOTS Test

All 16 topics in the Learn DOTS and ECS Roadmap