| | |
| | | protected override void AddListeners()
|
| | | {
|
| | | m_RankTypeController.OnRefreshCell += OnRefreshRankTypeCell;
|
| | | m_RankTypeController.lockType = EnhanceLockType.KeepVertical;
|
| | | }
|
| | |
|
| | | protected override void OnPreOpen()
|
| | |
| | |
|
| | | Display();
|
| | |
|
| | | var index = model.displayRanks.IndexOf(model.selectRankId);
|
| | | m_RankTypeController.JumpIndex(index);
|
| | | }
|
| | |
|
| | | protected override void OnAfterOpen()
|
| | | {
|
| | | var index = model.displayRanks.IndexOf(model.selectRankId);
|
| | | m_RankTypeController.JumpIndex(index);
|
| | |
|
| | | }
|
| | |
|
| | |
| | | }
|
| | | }
|
| | | m_RankTypeController.Restart();
|
| | | m_RankTypeController.JumpIndex(model.jumpRankType);
|
| | | }
|
| | |
|
| | | void DisplayRankTitles()
|
| | |
| | | }
|
| | | m_RankListController.Restart();
|
| | | }
|
| | | else
|
| | | {
|
| | | m_RankListController.m_Scorller.RefreshActiveCellViews();
|
| | | m_RankListController.JumpIndex(0);
|
| | | }
|
| | |
|
| | | m_RankListController.m_Scorller.RefreshActiveCellViews();
|
| | | |
| | |
|
| | | int rank = 0;
|
| | | if (model.TryGetMyRank(model.selectRankType, out rank))
|