| | |
| | | redpointBeh.redpointId = redpoint.id;
|
| | | }
|
| | | ItemCellModel cellModel = new ItemCellModel(itemConfig.ID, false, 0, "",PackType.Deleted,true);
|
| | | itemCell.button.enabled = false;
|
| | | itemCell.Init(cellModel);
|
| | | nameText.text = itemConfig.ItemName;
|
| | | nameText.color = UIHelper.GetUIColor(itemConfig.ItemColor, true);
|
| | |
| | | if (chinModel != null)
|
| | | {
|
| | | ItemCellModel cellModel = new ItemCellModel(chinModel.ID, true, 0);
|
| | | shopItemCell.itemCell.button.enabled = false;
|
| | | shopItemCell.itemCell.Init(cellModel);
|
| | | shopItemCell.itemNameText.text = chinModel.ItemName;
|
| | | shopItemCell.itemNameText.color = UIHelper.GetUIColor(chinModel.ItemColor);
|
| | |
| | | if (config != null)
|
| | | {
|
| | | ItemCellModel cellModel = new ItemCellModel(config.ID, true, 0,"", PackType.Deleted, true);
|
| | | shopItemCell.itemCell.button.enabled = false;
|
| | | shopItemCell.itemCell.Init(cellModel);
|
| | | shopItemCell.itemNameText.text = config.ItemName;
|
| | | shopItemCell.coinsIcon.SetIconWithMoneyType(shopInfo.MoneyType);
|
| | |
| | | if (chinModel != null)
|
| | | {
|
| | | ItemCellModel cellModel = new ItemCellModel(chinModel.ID,false, 0);
|
| | | shopItemCell.itemCell.enabled = false;
|
| | | shopItemCell.itemCell.Init(cellModel);
|
| | | shopItemCell.itemNameText.text = chinModel.ItemName;
|
| | | shopItemCell.itemNameText.color = UIHelper.GetUIColor(chinModel.ItemColor);
|