| | |
| | | using System.Collections; |
| | | using UnityEngine.UI; |
| | | using System.Collections.Generic;
|
| | | using TableConfig;
|
| | |
|
| | | namespace Snxxz.UI { |
| | | |
| | |
| | | [SerializeField] Button m_GoButton;
|
| | | [SerializeField] ItemCell m_ItemCell;
|
| | | [SerializeField] Text m_ItemNameTxt;
|
| | | [SerializeField] Text m_NewItemTxt;
|
| | | InSevenDayModel inSevenDayModel { get { return ModelCenter.Instance.GetModel<InSevenDayModel>(); } } |
| | | private void Start()
|
| | | {
|
| | |
| | | ItemCellModel cellModel = new ItemCellModel(item.item.id, true, (ulong)item.item.count, item.isBind);
|
| | | m_ItemCell.Init(cellModel);
|
| | | }
|
| | | var config = Config.Instance.Get<InSevenDaysConfig>(inDay);
|
| | | if (config != null)
|
| | | {
|
| | | m_NewItemTxt.text = config.RewardName;
|
| | | }
|
| | | |
| | | }
|
| | |
|
| | | private string SetNumberOfRounds(int num)
|