Learn DOTS and ECS Roadmap 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. Read more on the blogMonoBehaviour vs C# Class vs Struct: Memory and PerformanceTutorials ยท Apr 2026 Topics in StructGetting startedInstall dependenciesSubscenesAuthoringStructMonoBehaviourIComponentDataBaker<T>Unity.EntitiesGetEntity()CubeSpawnerSystemISystemUnity.TransformsUnity.MathematicsNon-DOTS Test All 16 topics in the Learn DOTS and ECS Roadmap