少年修仙传客户端代码仓库
client_Wu Xijin
2019-03-05 efa5f8d07fc3321f6ac5f5d97fb422db28d0886f
System/MainInterfacePanel/FeaturesType3.cs
@@ -5,7 +5,7 @@
using UnityEngine;
using System.Collections;
using UnityEngine.UI;
using TableConfig;
using System.Collections.Generic;
namespace Snxxz.UI
@@ -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(() =>