UnityAudioAdapter
Service: Audio (Audio)
Code: Runtime/GnosisEngine/Adapters/Unity/Audio/UnityAudioAdapter.cs (+ partial UnityAudioAdapter.Playlists.cs)
Implements playback, pooling, mixer routing, fades, solo, and track control from GnosisAudioService by listening for REQUEST_SOUND_* string ids on the event bus (same contract as the service publishes).
Unity assets
AudioMixer— SerializedtargetAudioMixerplusAudioMixerGroupreferences for Master, Music, SFX, UI (and related exposed parameter names for dB volumes).- Pooling — Creates child
GameObject+AudioSourceinstances; pool size and expand flag come from the boundGnosisAudioServiceon bind.
Event wiring
Subscribes to REQUEST_SOUND_PLAY, REQUEST_SOUND_CONTROL, REQUEST_SOUND_TRACK_CONTROL, REQUEST_SOUND_ALL_CONTROL, REQUEST_SOUND_FADE, REQUEST_SOUND_SOLO (see GnosisAudioService for semantics).
Partial classes
UnityAudioAdapter.Playlists.cs — Playlist-oriented behaviour kept in a separate partial file; search the adapter folder for playlist APIs when extending.
See also
- Audio service — Functions, tracks,
GetSettings
Last updated on