| | |
| | | [SerializeField] Button noneItemBtn;
|
| | | [SerializeField] Text nameText;
|
| | | [SerializeField] GameObject bestIconObj;
|
| | | [SerializeField] GameObject contain_Name;
|
| | |
|
| | | ItemTipsModel tipsModel { get { return ModelCenter.Instance.GetModel<ItemTipsModel>(); } }
|
| | | WishingPoolModel wishingModel { get { return ModelCenter.Instance.GetModel<WishingPoolModel>(); } }
|
| | |
| | | noneItemBtn.RemoveAllListeners();
|
| | | if (isWishData)
|
| | | {
|
| | | nameText.gameObject.SetActive(true);
|
| | | contain_Name.SetActive(true);
|
| | | itemBaisc.gameObject.SetActive(true);
|
| | | noneItemObj.gameObject.SetActive(false);
|
| | | bestIconObj.SetActive(wellItem.isBest == 0 ? false : true);
|
| | |
| | | }
|
| | | else
|
| | | {
|
| | | contain_Name.SetActive(false);
|
| | | itemBaisc.gameObject.SetActive(false);
|
| | | noneItemObj.gameObject.SetActive(true);
|
| | | nameText.gameObject.SetActive(false);
|
| | | bestIconObj.SetActive(false);
|
| | | noneItemBtn.AddListener(()=>
|
| | | {
|