//CREAT3D.ECS.Services.ChunkManagement// ===== IEntitySpawnLoadingService ===== This service's primary responsibility is to load [[EntitySpawn|EntitySpawns]] into a specified [[Chunk]]. Loading is performed through a coroutine so large spawn collections can be processed over multiple frames. **Broadcasts Events:** [[EntitySpawnLoadingStartedTopic]], [[EntitySpawnLoadingProgressTopic]], [[EntitySpawnLoadingCompleteTopic]] === Methods === ^Method | Task **LoadEntitySpawns**([[EntitySpawn]][] entitySpawns, [[Chunk]] chunk, CancellationToken cancellationToken) | ^Description | Loads all valid [[EntitySpawn|EntitySpawns]] into the specified [[Chunk]]. Loading runs through a coroutine in three stages: entity creation, transform parenting, and entity creation broadcasting. Progress is broadcast during loading according to the configured loading frequency. |