| | |
| | | [SerializeField] Text nameText;
|
| | | [SerializeField] OfficialTitleCell officialTitleCell;
|
| | | [SerializeField] Button queryPlayerBtn; //后续添加点击查看玩家详情
|
| | | [SerializeField] UIHeroController model;
|
| | |
|
| | | public void Display(int rankType, int rank, string valueFormat = "{0}")
|
| | | {
|
| | |
| | | rankValueText.text = string.Format(valueFormat, UIHelper.ReplaceLargeNum(rankData.cmpValue2 + rankData.cmpValue * Constants.ExpPointValue));
|
| | | nameText.text = rankData.name1;
|
| | | officialTitleCell.InitUI((int)rankData.value1, (int)rankData.value2);
|
| | | model.Create(5100030, 1); //测试
|
| | | }
|
| | |
|
| | |
|