Publisher | the Loftens |
---|---|
File size | 2.33MB |
Number of files | 22 |
Latest version | 1.0.2 |
Latest release date | 2022-10-31 10:16:15 |
First release date | 2022-01-28 08:41:15 |
Supported Unity versions | 2018.4.2 or higher |
A simple solution for splitscreen and other situations where you might need more than one audio listener.
The problem we solve:
By default, Unity does not currently have a solution for when there is a multiplayer setup that uses 3d spacial sound. This means if you have a split screen and players are in different areas of the map, unity's built-in audio listener would not pick up sound from the second listener but would instead throw an error due to having multiple listeners.
The way we solve it:
This package simply decides when to apply a sound based on distance to the closest "magic ear" or audio listener and when to change back to the single-listener setup.
Easy Setup/Removal:
Since ALL the work is done at runtime(on enable), setup and cleanup is easy. To use, simply add the Magic Ear to all listeners youd like to pick up sounds and add a Magic Mouth to all the audio sources. Leave the original Audio Listeners and Audio Sources on those objects as well and tweak those how you normally would to your liking.
Not a fan? To remove, just remove the Magic Ears and Magic Mouths and your Audio Listeners and Audio Sources remain untouched.
Check the features in "Technical Details" below...