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]