-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How do I pause sounds and music? #29
Comments
There is currently no helper API to pause all audio in one go, I'll be adding that in the next update. In the meantime, besides accessing all AudioSources, one workaround is to use JSAM's time scaling feature. In the case that you are pausing all audio for the implementation of a "Pause" menu, changing the Hope this helps |
Hi! I want to be able pause and resume music. I just started using JSAM and I didn't see how to do this in docs, so I wanted to ask what's the better way to do it properly. Since method StopAllMusic calls Stop and not Pause, right now, the only idea I have is to access all audio sources and call AudioSource.Pause, but surely there should be a better way to do it? What I want at the end is to pause all sounds, except UI.
The text was updated successfully, but these errors were encountered: