UnityTechnologies / open-project-1

Unity Open Project #1: Chop Chop
http://unity.com/open-projects
Apache License 2.0
5.75k stars 2.03k forks source link

Fixed audio UI bug #528

Closed dkphill closed 1 year ago

dkphill commented 1 year ago

Issue: #516

I found the location in UISettingsAudioComponent.cs where the music value is set to sfx, and vice versa. It is in the setup() function, which explains why it is switched every time the settings menu is opened.

After setting the music and sfx values, the player can exit the menu and the sound is reflected in the volume output. This process can be repeated over and over again with no bugs. Here is a video with proof that it works now: https://imgur.com/a/Tpa7CaU

CLAassistant commented 1 year ago

CLA assistant check
All committers have signed the CLA.