Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: PET on January 26, 2016, 06:06:25 AM
-
Hello,
I'm using this:
https://github.com/jeanfabre/PlayMakerCustomActions_U3/blob/master/Assets/PlayMaker%20Custom%20Actions/Audio/AudioListenerSetPause.cs
My main idea is to pause all the sounds when I'm in a pause state (Scale Time = 0).
It works... however when I resume the sounds are still paused, they don't resume playing.
Not only that but if I Stop/Start my game... even on the Run state my sounds are still not playing. I have to exit Unity, enter unity... and now when I Run my game I have my sounds.
Any ideas?
Thank You
/PET
-
Hi,
This is odd since this pause features only affect the listener, not the sounds being played.
Is it working when you publish it? or is not working at all, both within the editor and when published?
Bye,
Jean
-
Hello Jean,
it's also when you build. I did a test build... same problem.
This is my state machine:
(http://puu.sh/mKhzf/8a6f214ed4.png)
When I go back to the "Start" state machine the sounds still remain muted.
EDIT: It's weird because the sounds don't happen at all. I have another state machine that has a FINISH event when a sound finishes. Well I never get to the second state because the sound is not being played.
As I have said, I need to exit Unity and open it again. Then I get my sound back.
-
:'(
-
Hi,
I can't reproduce here, I can use this action fine, pause and unpause at will.
which version of Unity are you working with?
Bye,
Jean
-
It's Unity 5.3.1f1
I go to the pause state where I pause the sound but when I resume the sound still remains paused :(