| | |
| | | |
| | | public abstract class OSRankGiftBaseCell : CellView |
| | | { |
| | | [SerializeField] protected ImageEx rateImage; |
| | | [SerializeField] protected TextEx rateText; |
| | | [SerializeField] protected Text nameText; |
| | | [SerializeField] protected ItemCell[] itemCells; |
| | | [SerializeField] protected Button buyBtn; |
| | |
| | | id -= 100000000; |
| | | var ctgConfig = CTGConfig.Get(id); |
| | | nameText.text = ctgConfig.Title; |
| | | rateImage.SetActive(true); |
| | | rateText.text = Language.Get("DailySpecials07", ctgConfig.Percentage); |
| | | for (int i = 0; i < itemCells.Length; i++) |
| | | { |
| | | var itemCell = itemCells[i]; |
| | |
| | | } |
| | | else |
| | | { |
| | | rateImage.SetActive(false); |
| | | // 商店物品 |
| | | var storeConfig = StoreConfig.Get(id); |
| | | nameText.text = storeConfig.Name; |