CREAT3D.ECS.Services.ChunkManagement

IEntitySpawnCollectionFinder

This service is used to locate all EntitySpawn instances associated with a specific Scene. Since the concept of a Scene is only loosely defined in this architecture as it's deeply associated with the game engine layer, the implementation of IEntitySpawnCollectionFinder is meant to be provided by each game engine layer independently. There is an implementation of this service included in the Unity package of ECS Core.

Methods

Method Task<EntitySpawn[]> FindSceneEntitySpawns(SceneReference sceneReference, CancellationToken cancellationToken)
Description Returns an array of all EntitySpawn instances associated with the provided SceneReference.