Skip to content

How do I pause sounds and music? #29

Description

@MadScientist11

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions