| | |
| | | [SerializeField] Transform transAward; |
| | | [SerializeField] ButtonEx btnClose; |
| | | [SerializeField] TextEx txtTitle; |
| | | [SerializeField] PlayerRankCell myRankCell; |
| | | [SerializeField] TianziBillboradPlayerRankCell myRankCell; |
| | | [HideInInspector] public string valueFormat = "{0}"; |
| | | |
| | | [Header("奖励")] |
| | | [SerializeField] TextEx txtCountdown; |
| | | [SerializeField] ScrollerController scrAward; |
| | | [Header("排行")] |
| | | [SerializeField] List<PlayerTop3Cell> playerTop3Cells; |
| | | [SerializeField] List<TianziBillboradPlayerTop3Cell> playerTop3Cells; |
| | | [SerializeField] ScrollerController scrollerController; |
| | | [HideInInspector] public int groupValue1 = 0; //一般用于跨服 |
| | | [HideInInspector] public int groupValue2 = 0; //一般用于跨服 |
| | |
| | | |
| | | void OnRefreshCell(ScrollerDataType type, CellView cell) |
| | | { |
| | | var _cell = cell.GetComponent<PlayerRankCell>(); |
| | | var _cell = cell.GetComponent<TianziBillboradPlayerRankCell>(); |
| | | _cell.Display(model.rankType, cell.index + 1, valueFormat); |
| | | RankModel.Instance.ListenRankPage(model.rankType, cell.index, groupValue1, groupValue2); |
| | | } |