| | |
| | | [SerializeField] Text dayScoreText;
|
| | | [SerializeField] Text openTimeText;
|
| | |
|
| | | CrossServerModel crossServerModel { get { return ModelCenter.Instance.GetModel<CrossServerModel>(); } }
|
| | | #region Built-in
|
| | | protected override void BindController()
|
| | | {
|
| | |
| | | }
|
| | | #endregion
|
| | |
|
| | | private void SetDisplay()
|
| | | {
|
| | | UpdateMatchInfo();
|
| | | UpdatePKInfo();
|
| | | }
|
| | |
|
| | | private void UpdateMatchInfo()
|
| | | {
|
| | | dayScoreText.text = StringUtility.Contact(crossServerModel.dayGetScore,"/",crossServerModel.dayMaxScore);
|
| | | reaminNumText.text = StringUtility.Contact(crossServerModel.dayMatchNum,"/",crossServerModel.dayMaxMatchNum);
|
| | | }
|
| | |
|
| | | private void UpdatePKInfo()
|
| | | {
|
| | | winRateText.text = StringUtility.Contact(crossServerModel.curWinRate,"%");
|
| | | winNumText.text = crossServerModel.curWinNum.ToString();
|
| | | failNumText.text = crossServerModel.curFailNum.ToString();
|
| | | sumNumText.text = crossServerModel.sumBattleNum.ToString();
|
| | | }
|
| | |
|
| | | private void ClickDayAward()
|
| | | {
|
| | | WindowCenter.Instance.Open<CrossServerDayAwardsWin>();
|