|
@@ -218,15 +218,15 @@ namespace GFGGame
|
|
|
}
|
|
|
private void UpdateCJGoodsCount()
|
|
|
{
|
|
|
- int luckyBoxId1 = LuckyBoxDataManager.BOX_ID_3;
|
|
|
- LuckyBoxCfg luckyBoxCfg1 = LuckyBoxCfgArray.Instance.GetCfg(luckyBoxId1);
|
|
|
- _ui.m_txtCount0.text = "" + ItemDataManager.GetItemNum(luckyBoxCfg1.bonusArr[0][0]);
|
|
|
- _ui.m_loaIcon0.icon = ResPathUtil.GetCommonGameResPath(ItemCfgArray.Instance.GetCfg(luckyBoxCfg1.bonusArr[0][0]).res);
|
|
|
-
|
|
|
- int luckyBoxId2 = LuckyBoxDataManager.BOX_ID_2;
|
|
|
- LuckyBoxCfg luckyBoxCfg2 = LuckyBoxCfgArray.Instance.GetCfg(luckyBoxId2);
|
|
|
- _ui.m_txtCount1.text = "" + ItemDataManager.GetItemNum(luckyBoxCfg2.bonusArr[0][0]);
|
|
|
- _ui.m_loaIcon1.icon = ResPathUtil.GetCommonGameResPath(ItemCfgArray.Instance.GetCfg(luckyBoxCfg2.bonusArr[0][0]).res);
|
|
|
+ // int luckyBoxId1 = LuckyBoxDataManager.BOX_ID_3;
|
|
|
+ // LuckyBoxCfg luckyBoxCfg1 = LuckyBoxCfgArray.Instance.GetCfg(luckyBoxId1);
|
|
|
+ // _ui.m_txtCount0.text = "" + ItemDataManager.GetItemNum(luckyBoxCfg1.bonusArr[0][0]);
|
|
|
+ // _ui.m_loaIcon0.icon = ResPathUtil.GetCommonGameResPath(ItemCfgArray.Instance.GetCfg(luckyBoxCfg1.bonusArr[0][0]).res);
|
|
|
+
|
|
|
+ // int luckyBoxId2 = LuckyBoxDataManager.BOX_ID_2;
|
|
|
+ // LuckyBoxCfg luckyBoxCfg2 = LuckyBoxCfgArray.Instance.GetCfg(luckyBoxId2);
|
|
|
+ // _ui.m_txtCount1.text = "" + ItemDataManager.GetItemNum(luckyBoxCfg2.bonusArr[0][0]);
|
|
|
+ // _ui.m_loaIcon1.icon = ResPathUtil.GetCommonGameResPath(ItemCfgArray.Instance.GetCfg(luckyBoxCfg2.bonusArr[0][0]).res);
|
|
|
}
|
|
|
private void UpdateRole(bool tween)
|
|
|
{
|