| | |
| | | } |
| | | 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; |
| | |
| | | } |
| | | |
| | | equipSuitEffect.Display(itemId); |
| | | itemBaseEffect.Display(itemId); |
| | | } |
| | | |
| | | [ExecuteAlways] |
| | |
| | | }
|
| | | }
|
| | |
|
| | | //物品基础特效(物品表)
|
| | | 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 {
|
| | |
| | | }
|
| | |
|
| | | equipSuitEffect.Display(itemId);
|
| | | itemBaseEffect.Display(itemId);
|
| | | }
|
| | | catch (Exception e)
|
| | | {
|