少年修仙传客户端代码仓库
client_linchunjie
2018-09-17 b8f56070e35503272bb387b5d62476cda3d22b96
System/MainInterfacePanel/FeaturesType1.cs
@@ -29,8 +29,8 @@
        {
            get { return m_Button; }
            set { m_Button = value; }
        }
        }
        FeatureNoticeModel featureNoticeModel { get { return ModelCenter.Instance.GetModel<FeatureNoticeModel>(); } }
        public void GetTheFeatureID(int funcId)
        {
            var functionForecastConfig = Config.Instance.Get<FunctionForecastConfig>(funcId);
@@ -40,7 +40,15 @@
            }
            m_FunctionName.text = functionForecastConfig.FuncName;
            m_FunctionalLevel.text = functionForecastConfig.DisplayLevel.ToString()+ Language.Get("Z1041");
            m_FeaturesTypeIcon.SetSprite(functionForecastConfig.FuncIconKey);
            if (!FuncOpen.Instance.IsFuncOpen(funcId) && functionForecastConfig.OpenNumber > featureNoticeModel.FunctionForecastIndex)
            {
                m_FeaturesTypeIcon.SetSprite("UnKnowIcon");
            }
            else
            {
                m_FeaturesTypeIcon.SetSprite(functionForecastConfig.FuncIconKey);
            }
            if (PlayerDatas.Instance.baseData.LV >= functionForecastConfig.DisplayLevel)
            {
                m_FunctionalLevel.color = new Color32(141,220,17,255);