少年修仙传客户端代码仓库
client_Wu Xijin
2018-11-08 1c36e698ce2ca2344cbc440b6bf5f598c70339ce
System/MainInterfacePanel/FeatureNotice2Win.cs
@@ -104,7 +104,8 @@
            Transform Tran = cell.transform;
            GameObject Tran1 = Tran.Find("FeaturesTypeOne").gameObject;
            GameObject Tran2 = Tran.Find("FeaturesTypeTwo").gameObject;
            if (funcId == featureNoticeModel.FunctionForecastIndex)
            var configs = Config.Instance.Get<FunctionForecastConfig>(funcId);
            if (configs.OpenNumber == featureNoticeModel.FunctionForecastIndex)
            {
               
                Tran1.SetActive(false);
@@ -141,7 +142,7 @@
                int openTag = config.FuncId;
                if (!FuncOpen.Instance.IsFuncOpen(openTag))
                {
                    featureNoticeModel.FunctionForecastIndex = config.FuncId;
                    featureNoticeModel.FunctionForecastIndex = config.OpenNumber;
                    return;
                }
            }
@@ -161,7 +162,7 @@
            }
            Index = featureNoticeModel.FunctionList.FindIndex((x) =>
            {
                return x.FuncId == featureNoticeModel.FunctionForecastIndex;
                return x.OpenNumber == featureNoticeModel.FunctionForecastIndex;
            });
            if (Index == -1)
            {