Namespace Serenity.AudioPlayer.Infrastructure.Services
Classes
UnityAudioPlayerEmitterFactory
Factory for creating Unity audio emitter GameObjects with AudioSource components. Handles creation and configuration of audio sources with proper mixer group assignments.
UnityAudioPlayerService
Unity-specific audio player service that manages audio playback through AudioSource components. Supports both UI and music audio player types with game settings integration.
UnityAudioPlayerServiceFactory
Factory for creating Unity-specific audio player service instances with proper GameObject hierarchy. Creates audio emitters, service components, and handles initialization with dependencies.
UnityAudioPlayerSourceState
Runtime metadata tracked per pooled UnityEngine.AudioSource so the audio player can make
priority-based replacement decisions without trying to infer everything from the
UnityEngine.AudioSource alone.
One instance is kept per slot, parallel to the service's AudioSource[] pool.