少年修仙传客户端代码仓库
client_Zxw
2018-11-10 2768bc57c1dcdc33a12f2f3fbb73504aa4b9f3f5
System/MainInterfacePanel/FeatureNoticeWin.cs
@@ -206,9 +206,15 @@
        #endregion
        private List<FunctionForecastConfig> configs = new List<FunctionForecastConfig>();
        private void DefaultSelection()//获取默认选择
        {
            var configs = Config.Instance.GetAllValues<FunctionForecastConfig>();
            if (configs.Count <= 0)
            {
                configs= Config.Instance.GetAllValues<FunctionForecastConfig>();
            }
            //var configs = Config.Instance.GetAllValues<FunctionForecastConfig>();
            foreach (var config in configs)
            {
                int openTag = config.FuncId;
@@ -357,6 +363,7 @@
            }
        }
        List<FunctionForecastConfig> functionForecastValue = new List<FunctionForecastConfig>();
        void TrailerClassification(int funcID)//预告分类
        {
            m_TextTurnedOn.gameObject.SetActive(false);
@@ -375,7 +382,11 @@
            }
            if (!FuncOpen.Instance.IsFuncOpen(ClickFuncID) && Type && NeedLv > playerLv)
            {
                var functionForecastValue = Config.Instance.GetAllValues<FunctionForecastConfig>();
                if (functionForecastValue.Count <= 0)
                {
                    functionForecastValue= Config.Instance.GetAllValues<FunctionForecastConfig>();
                }
              //  var functionForecastValue = Config.Instance.GetAllValues<FunctionForecastConfig>();
                string StrNanme = string.Empty;
                foreach (var value in functionForecastValue)
                {