Splitting Audio
intermediate conceptsSplit Screen Pro · Core Concepts
Splitting Audio
Split Screen Pro provides built-in support for splitting audio between two players. Since Unity only allows one AudioListener in the scene, the system offers two approaches.
Option 1 — External audio system (FMOD)
Use a third-party audio system like FMOD which supports multiple listeners. Replace your AudioListener and AudioSource components with the equivalents provided by the external system.
Option 2 — Built-in Split Audio
Enable the Split Audio option on the SplitScreenManager component. The system ensures sounds are played from the nearest player position.
Playing a sound at any position
Use the static method to play a clip at a specific world position. The system automatically determines the nearest player:
SplitScreenManager.PlayClipAtPoint(clip, position, volume);
Setting up Audio Sources
Add the SplitAudioSource component to your AudioSource GameObjects. The system creates a mirrored child AudioSource and manages both based on player proximity:
- Select the GameObject with an
AudioSource. - Click Add Component and search for
SplitAudioSource. - The original AudioSource is muted; the mirrored source plays from the nearest player.
SplitAudioSource to the prefab. The mirrored AudioSource becomes part of the prefab, benefiting from your pool.
Suggest an improvement
Help us improve this documentation page.