| | |
| | | using System.Collections; |
| | | using System.Collections.Generic; |
| | | using UnityEngine; |
| | | using TableConfig; |
| | | using System.Collections;
|
| | | using System.Collections.Generic;
|
| | | using UnityEngine;
|
| | | using TableConfig;
|
| | | namespace Snxxz.UI
|
| | | {
|
| | | public class RareItem : CommonItemBaisc
|
| | | {
|
| | | [SerializeField] UIEffect m_RareSfx;
|
| | |
|
| | | public override void Init(ItemCellModel model)
|
| | | public override void Init(ItemCellModel model, int compareScore = 0)
|
| | | {
|
| | | if (m_RareSfx != null)
|
| | | {
|
| | |
| | | base.Init(model);
|
| | | }
|
| | |
|
| | | public void SetItemRare(ItemCellModel model, int _itemColor = 0)
|
| | | public void SetItemRare(ItemCellModel model, int _itemColor = 0, int compareScore = 0)
|
| | | {
|
| | | if (model == null)
|
| | | {
|
| | |
| | | }
|
| | | }
|
| | | }
|
| | | } |
| | | |
| | | }
|
| | |
|