Split Screen Audio
LunaArgenteus
$5.00
Date |
Price |
---|---|
日期和时间 |
价钱($) |
03/19(2018) |
5.0 |
11/15(2024) |
5.0 |
Jump AssetStore
Have you ever wanted to create a split screen game, but were stumped when you found out that Unity only supports one AudioListener in the scene? Fear no longer! Split Screen Audio is a tool that allows users to quickly set up multiple audio listeners and play back audio clips using one of three methods.
It works with any number of players!
You can:
A) Set sounds to play through the left or right speakers (or somewhere in between) based on which listeners can hear them. 3D functions like doppler and rolloff are still available with this method though!
B) Set sounds to only play for whichever listener is closest. Sounds can be set to be able to switch the target the play for mid clip, or to be locked to whichever player the start playing for until the end of the clip. This is efficient, but perhaps not as accurate as the third method:
C) Set sounds to play for all players in a way that you'd expect to hear it. The sounds are layered on top of each other and the volume is adjusted to make it sound like every listener can hear the sound as they should!
Source code fully accessible so small modifications are easy!
Compatible with Unity and Unity Pro!
Official Support Thread here!