Main/System/SystemSetting/SystemSetting.cs
@@ -3,7 +3,6 @@ using UnityEngine; using UnityEngine.Events; using System; using vnxbqy.UI; using System.Collections; using Cysharp.Threading.Tasks; @@ -27,14 +26,12 @@ public SystemSetting() { // TODO YYL // DTC0102_tagCDBPlayer.switchAccountEvent += OnSwitchAccount; DTC0102_tagCDBPlayer.switchAccountEvent += OnSwitchAccount; } ~SystemSetting() { // TODO YYL // DTC0102_tagCDBPlayer.switchAccountEvent -= OnSwitchAccount; DTC0102_tagCDBPlayer.switchAccountEvent -= OnSwitchAccount; } public void SetSoundVolume(float _volume)