少年修仙传客户端代码仓库
client_Wu Xijin
2019-02-13 2df58aeacbf1177ec01167bdeccfe89d6a8d5804
System/MainInterfacePanel/FeaturesType3.cs
@@ -44,7 +44,7 @@
        ItemTipsModel itemTipsModel { get { return _itemTipsModel ?? (_itemTipsModel = ModelCenter.Instance.GetModel<ItemTipsModel>()); } }
        public void GetTheFeatureID(int funcId)
        {
            var functionForecastConfig = Config.Instance.Get<FunctionForecastConfig>(funcId);
            var functionForecastConfig = FunctionForecastConfig.Get(funcId);
            if (functionForecastConfig == null)
            {
                return;
@@ -138,7 +138,7 @@
        }
        private void SetItem1(List<AwardItem> List,int funcID)
        {
            var itemConfig = Config.Instance.Get<ItemConfig>(List[0].item.id);
            var itemConfig = ItemConfig.Get(List[0].item.id);
            UIHelper.SetItemBackGround(m_ItemBG1, itemConfig.ItemColor);
            m_Icon1.SetSprite(itemConfig.IconKey);
            m_IconBtn1.SetListener(() =>
@@ -206,7 +206,7 @@
        }
        private void SetItem2(List<AwardItem> List, int funcID)
        {
            var itemConfig = Config.Instance.Get<ItemConfig>(List[1].item.id);
            var itemConfig = ItemConfig.Get(List[1].item.id);
            UIHelper.SetItemBackGround(m_ItemBG2, itemConfig.ItemColor);
            m_Icon2.SetSprite(itemConfig.IconKey);
            m_IconBtn2.SetListener(() =>