I’m trying to create a simple “mute” button for my game and I’d like to use a Toggle.
In the onValueChanged I’ve two options under “Dynamic bool”: “enable” and “pause”.
When I select “enable” it works fine in the editor (except I get endless debug.log “no audio listener”) but in web build it plainly gets ignored.
When I select “pause” (or any static option except “enable” for what matters) what I get is that the selection bar says “<missing AudioListener.[method]>” and doesn’t work.
here’s a screenshot:
Am I doing something wrong?
Is it a bug?
Am I missing something important?