- Home /
Mute audio in webgl outside of the player.
Hello,
While trying to implement a mute button outside of the actual game for convenience I sumbled across some problems. I couldn't directly find a JavaScript function to mute all the audio although I did find out about the setFullScreen() function.
I was wondering if webgl has a function build in for this or if there is a way to have my JavaScript communicate with the game and mute/unmute audio that way?
Thanks in advance!
(I am currently not able to post code examples, I will do so if needed when I am back home)
Your answer
Follow this Question
Related Questions
Can't connect to Web socket, connection refused Unity WebGL 0 Answers
Unity Button as HTML Button 1 Answer
Unity 5.6 not calling function when called from webpage 1 Answer
Browser interaction to Unity 0 Answers
Unity WebGL Problem 0 Answers