少年修仙传客户端代码仓库
hch
1 天以前 dbb7a55e47da81a8c7c2b4bff7e053ff36af3d5a
0312 修复部分界面物品框没特效
2个文件已修改
30 ■■■■■ 已修改文件
System/FindPrecious/FindPreciousItemBehaviour.cs 15 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
UI/Common/ItemBehaviour.cs 15 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/FindPrecious/FindPreciousItemBehaviour.cs
@@ -24,6 +24,20 @@
                }
                return m_EquipSuitEffect;
            }
        }
        //物品基础特效(物品表)
        ItemBaseEffect m_ItemBaseEffect;
        ItemBaseEffect itemBaseEffect
        {
            get
            {
                if (m_ItemBaseEffect == null)
                {
                    m_ItemBaseEffect = ItemBaseEffect.Create(transform as RectTransform);
                }
                return m_ItemBaseEffect;
            }
        }
        int itemId = 0;
@@ -44,6 +58,7 @@
            }
            equipSuitEffect.Display(itemId);
            itemBaseEffect.Display(itemId);
        }
        [ExecuteAlways]
UI/Common/ItemBehaviour.cs
@@ -45,6 +45,20 @@
            }
        }
        //物品基础特效(物品表)
        ItemBaseEffect m_ItemBaseEffect;
        ItemBaseEffect itemBaseEffect
        {
            get
            {
                if (m_ItemBaseEffect == null)
                {
                    m_ItemBaseEffect = ItemBaseEffect.Create(transform as RectTransform);
                }
                return m_ItemBaseEffect;
            }
        }
        bool m_ShowCount = true;
        public bool showCount {
            get {
@@ -132,6 +146,7 @@
                }
                equipSuitEffect.Display(itemId);
                itemBaseEffect.Display(itemId);
            }
            catch (Exception e)
            {