How can I create toggle for enabling and disabling music. I tried (with new version 4.6) attach object where is attached audiosource attach to toogle button actions when is off and i select AudioSource and enabled…
- If you want to regulate volume for whole application use AudioListener.volume Unity - Scripting API: AudioListener
- Otherwise just change values in audiosource.