diff --git a/Assets/ManagedResources/~Lua/Modules/Setting/SettingInfo.lua b/Assets/ManagedResources/~Lua/Modules/Setting/SettingInfo.lua index 198a5b57d7..d2ecbac646 100644 --- a/Assets/ManagedResources/~Lua/Modules/Setting/SettingInfo.lua +++ b/Assets/ManagedResources/~Lua/Modules/Setting/SettingInfo.lua @@ -90,17 +90,18 @@ function SettingInfo:SetTipShow() end function SettingInfo:SetReslutionTipShow() + if ServerConfigManager.IsSettingActive(ServerConfigManager.SettingConfig.IS_SELECT_RESLUTION) then local value = PlayerPrefs.GetInt("ResLution") this.selectResolution.value = value if value == 0 then UnityEngine.Application.targetFrameRate = 60; - this.selectResolutionText.text = "高帧率" - this.selectResolutionTip.gameObject:SetActive(true) - else - UnityEngine.Application.targetFrameRate = 30; this.selectResolutionText.text = "普通帧率" this.selectResolutionTip.gameObject:SetActive(false) + else + UnityEngine.Application.targetFrameRate = 60; + this.selectResolutionText.text = "高帧率" + this.selectResolutionTip.gameObject:SetActive(true) end end end