Skip to content

AudioSystem.PruneDestroyedEntities() Method

Definition

Namespace: Brine2D.Systems.Audio

Removes tracking state for entities no longer returned by the audio source query (entity destroyed or component removed). Uses the set of entities visited during the current frame rather than per-entity GetComponent lookups.

private void PruneDestroyedEntities();