Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | AndrewD |
How to make a sound on/off system, (if sound effects are in different not preload scenes) using a texture button with toggle mode?
Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | AndrewD |
How to make a sound on/off system, (if sound effects are in different not preload scenes) using a texture button with toggle mode?
Reply From: | ChristianSF |
I assume, nothing in here or here or here worked for you? Then you should post your code and explain your setup in more detail.
I guess, you could also have the button emit a custom signal every scene listens for, and if received, turns off all audio within themselves.
I am no big fan, though, of distributing code all over the place and would rather advise to try to centralize your sound handling.
ChristianSF | 2020-08-02 06:28