lcy
1 天以前 50b767d2f294d66f22fdcdecd23dcd5f4eb8b534
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;
@@ -43,7 +42,7 @@
    public float GetSoundVolume()
    {
        return LocalSave.GetFloat(SOUND_VOLUME_KEY, .55f);
        return LocalSave.GetFloat(SOUND_VOLUME_KEY, 1.0f);
    }
    public void SetSoundEffect(float value)
@@ -53,7 +52,7 @@
    public float GetSoundEffect()
    {
        return LocalSave.GetFloat(SOUND_EFFECT_KEY, .8f);
        return LocalSave.GetFloat(SOUND_EFFECT_KEY, 1.0f);
    }
    public void SetGameFps(GameFps _frame)
@@ -163,18 +162,18 @@
                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)
        {
@@ -219,7 +218,7 @@
    public void LetFPSUnLimit()
    {
        Application.targetFrameRate = 1000;
        // Application.targetFrameRate = 1000;
    }
    private void OnSwitchAccount()