- Home /
How to have two audio listeners...splitscreen
Sir.. i'm implementing a splitscreen window on my current development and I have 2 cameras...one for the first player and other for the second player.. how I could I possibly attach 2 audio listeners in one scene.. unity only allows one.. thanks for those who will spare time.
Answer by LunaArgenteus · Oct 22, 2014 at 06:08 AM
I've just released an asset that allows you to simulate multiple Audio Listeners. You can pick from one of three methods to play audio back, depending on what suits your needs best! You can check it out here:
Answer by Tinus · Jan 11, 2013 at 02:44 PM
I'm developing a Multi Audio Listener plugin based on Unity's default audio components.
The plugin is currently available for testing (on demand) and will later be sold on the Asset Store. Contact me if you're interested!
Answer by Linus · Jul 24, 2012 at 03:13 AM
Have only one listener, but place it between the players cameras.
Check this out:
http://forum.unity3d.com/threads/117130-Multiple-Cameras-and-Audio-Listeners
http://forum.unity3d.com/threads/4337-Multiple-AudioListeners
but I cannot switch cameras because each car has it's own camera following them.. thanks
I have to ad$$anonymous$$t, I have not done split screen myself. Im afraid it is not possible, to have one per player in split screen. Best bet is then to have one listener nicely positioned between the players. I am updating my answer with better references.
Wish I could help you more. The second link has a good discussion on the matter though.
Answer by ADoby · Jul 15, 2014 at 09:49 AM
Just play it for each camera once.
Use a gameobjectpool for performance reasons.
Your answer