using Unity.Entities; using Unity.Mathematics; namespace ProjectM.Simulation { /// /// Baked singleton describing the training-dummy field to spawn at world start. Consumed once by /// the server-only TrainingDummySpawnSystem, which instantiates dummies from /// and then destroys this singleton so the spawn runs exactly once. Not /// replicated — dummies are spawned authoritatively on the server and reach clients as ghosts. /// public struct TrainingDummySpawner : IComponentData { /// Baked entity prefab to instantiate for each dummy. public Entity Prefab; /// Number of dummies to spawn. public int Count; /// World-unit gap between consecutive dummies along the spawn line (X axis). public float Spacing; /// World-space position of the first dummy; subsequent dummies offset by . public float3 Origin; } }