Playmaker Forum
PlayMaker Feedback => Action Requests => Topic started by: jongkook on October 17, 2015, 06:08:26 AM
-
'play sound' Action option requests
Making a 2d game with Unity 5.
2d sound settings are required
So 'spatial Blend' option is required
-
Yes please.
Since upgrading from 5.1.3p1 of Unity to 5.2.2p2 I've just run into this problem. My audio is now messed up and I don't know what to do.
A Spatial Blend slider is now badly needed for playmakers Play Sound action.
Regards
James
-
You can't. Its a limitation in Unity.
Previously the sound space was defined in the sound's Import Options. Since it is now tied to the Audio Source and PlayOneShot does not return an Audio Source to manipulate then its not possible at the moment. I'm not sure if they realized the ramifications of making that change.
I talked to Richard at Unity about this, not sure if its going to move forward any time soon. It seems like PlayOneShot is almost useless now so the solution is basically to just stop using it.
The better workflow is to add Audio Sources to anything playing a sound, then tell the Audio Source to Play as needed.
-
here you go:
http://hutonggames.com/playmakerforum/index.php?topic=11596.msg54296#msg54296
min unity 5.2+
plays one-shot or/and edit Audio source
-
Thanks Lane,
Thank you too dudebxl. I've just replied to your thread. This is looking good to me, but I don't seem to be able to get the volume slider to work.
Kind regards
James.
-
You can't. Its a limitation in Unity.
Previously the sound space was defined in the sound's Import Options. Since it is now tied to the Audio Source and PlayOneShot does not return an Audio Source to manipulate then its not possible at the moment. I'm not sure if they realized the ramifications of making that change.
I talked to Richard at Unity about this (http://fettermanandassociates.blogspot.com/), not sure if its going to move forward any time soon. It seems like PlayOneShot is almost useless now so the solution is basically to just stop using it.
The better workflow is to add Audio Sources to anything playing a sound, then tell the Audio Source to Play as needed.
Hi Lane link,
You are telling the true, I already encountered the same situation in the past.