|  |  |  | 
|---|
|  |  |  | using UnityEngine; | 
|---|
|  |  |  | using UnityEngine.Events; | 
|---|
|  |  |  | using System; | 
|---|
|  |  |  | using vnxbqy.UI; | 
|---|
|  |  |  | using System.Collections; | 
|---|
|  |  |  | using Cysharp.Threading.Tasks; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | 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) | 
|---|
|  |  |  | 
|---|
|  |  |  | break; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | #if UNITY_ANDROID && !UNITY_EDITOR | 
|---|
|  |  |  | if (_disabeCamera) | 
|---|
|  |  |  | { | 
|---|
|  |  |  | CameraManager.uiCamera.enabled = false; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | // #if !UNITY_EDITOR | 
|---|
|  |  |  | //         if (_disabeCamera) | 
|---|
|  |  |  | //         { | 
|---|
|  |  |  | //             CameraManager.uiCamera.enabled = false; | 
|---|
|  |  |  | //         } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | ResolutionUtility.AdjustResolution(_quality); | 
|---|
|  |  |  | if (_disabeCamera) | 
|---|
|  |  |  | { | 
|---|
|  |  |  | Co_WaitFewMinute(); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | #endif | 
|---|
|  |  |  | //         ResolutionUtility.AdjustResolution(_quality); | 
|---|
|  |  |  | //         if (_disabeCamera) | 
|---|
|  |  |  | //         { | 
|---|
|  |  |  | //             Co_WaitFewMinute(); | 
|---|
|  |  |  | //         } | 
|---|
|  |  |  | // #endif | 
|---|
|  |  |  |  | 
|---|
|  |  |  | if (qualityLevelChangeEvent != null) | 
|---|
|  |  |  | { | 
|---|
|  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public void LetFPSUnLimit() | 
|---|
|  |  |  | { | 
|---|
|  |  |  | Application.targetFrameRate = 1000; | 
|---|
|  |  |  | // Application.targetFrameRate = 1000; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | private void OnSwitchAccount() | 
|---|