System/MainInterfacePanel/HighSettingFadeInFadeOut.cs
@@ -231,13 +231,14 @@ } } m_Switch.gameObject.SetActive(IsShowButton()); } public bool IsShowButton()//是否显示切换按钮 bool IsShowButton() { foreach (var grid in m_GridGroup1) { if (!grid.alwayShow) if (!grid.alwayShow && grid.gameObject.activeSelf) { return true; } @@ -245,7 +246,7 @@ foreach (var grid in m_GridGroup2) { if (!grid.alwayShow) if (!grid.alwayShow && grid.gameObject.activeSelf) { return true; }