|
@@ -46,11 +46,6 @@ namespace GFGGame
|
|
|
|
|
|
this.clickBlankToClose = false;
|
|
this.clickBlankToClose = false;
|
|
|
|
|
|
- _ui.m_c1.selectedIndex = rewardId > 0 ? 1 : 0;
|
|
|
|
- if (rewardId > 0)
|
|
|
|
- {
|
|
|
|
- _ui.m_listFirstDanReward.numItems = cfg.bonusUpgradeArr.Length;
|
|
|
|
- }
|
|
|
|
|
|
|
|
cfg = ArenaRankCfgArray.Instance.GetCfg(curGrade);
|
|
cfg = ArenaRankCfgArray.Instance.GetCfg(curGrade);
|
|
_ui.m_comCurDan.m_txtDanTitle.text = cfg.gradeName;
|
|
_ui.m_comCurDan.m_txtDanTitle.text = cfg.gradeName;
|
|
@@ -61,6 +56,11 @@ namespace GFGGame
|
|
_ui.m_comLastDan.m_txtDanTitle.text = lastCfg.gradeName;
|
|
_ui.m_comLastDan.m_txtDanTitle.text = lastCfg.gradeName;
|
|
ArenaViewManager.Instance.UpdateDanIcon(_ui.m_comLastDan.m_loaDanIcon, lastCfg.id);
|
|
ArenaViewManager.Instance.UpdateDanIcon(_ui.m_comLastDan.m_loaDanIcon, lastCfg.id);
|
|
|
|
|
|
|
|
+ _ui.m_c1.selectedIndex = rewardId > 0 ? 1 : 0;
|
|
|
|
+ if (rewardId > 0)
|
|
|
|
+ {
|
|
|
|
+ _ui.m_listFirstDanReward.numItems = cfg.bonusUpgradeArr.Length;
|
|
|
|
+ }
|
|
_ui.m_t0.Play(() =>
|
|
_ui.m_t0.Play(() =>
|
|
{
|
|
{
|
|
this.clickBlankToClose = true;
|
|
this.clickBlankToClose = true;
|
|
@@ -88,7 +88,7 @@ namespace GFGGame
|
|
obj.data = new ItemView(obj as GComponent);
|
|
obj.data = new ItemView(obj as GComponent);
|
|
}
|
|
}
|
|
(obj.data as ItemView).SetData(itemData);
|
|
(obj.data as ItemView).SetData(itemData);
|
|
- (obj.data as ItemView).SetComItemScale = 0.7f;
|
|
|
|
|
|
+ (obj.data as ItemView).SetComItemScale = 0.85f;
|
|
(obj.data as ItemView).SetTxtCountPos(185, 155);
|
|
(obj.data as ItemView).SetTxtCountPos(185, 155);
|
|
}
|
|
}
|
|
}
|
|
}
|