|
@@ -109,7 +109,7 @@ namespace GFGGame
|
|
{
|
|
{
|
|
base.OnShown();
|
|
base.OnShown();
|
|
// _comLvConsumeGold = UI_ComCostCurrency.Proxy(_comFosterBottom.m_ComLvConsumeGold);
|
|
// _comLvConsumeGold = UI_ComCostCurrency.Proxy(_comFosterBottom.m_ComLvConsumeGold);
|
|
- _comStarCousumeGold = UI_ComCostCurrencyWithHas.Proxy(_comFosterBottom.m_comStarCousumeGold);
|
|
|
|
|
|
+ //_comStarCousumeGold = UI_ComCostCurrencyWithHas.Proxy(_comFosterBottom.m_comStarCousumeGold);
|
|
|
|
|
|
_ui.m_loaBg.url = ResPathUtil.GetBgImgPath("hc_bj_1");
|
|
_ui.m_loaBg.url = ResPathUtil.GetBgImgPath("hc_bj_1");
|
|
_cardData = CardDataManager.GetCardDataById((this.viewData as CardData).id);
|
|
_cardData = CardDataManager.GetCardDataById((this.viewData as CardData).id);
|
|
@@ -510,9 +510,9 @@ namespace GFGGame
|
|
// int costNeed = cardStarCfg.costNum;
|
|
// int costNeed = cardStarCfg.costNum;
|
|
// _comStarCousumeGold.m_txtHas.text = costHas.ToString();
|
|
// _comStarCousumeGold.m_txtHas.text = costHas.ToString();
|
|
// _comStarCousumeGold.m_txtNeed.text = costNeed.ToString();
|
|
// _comStarCousumeGold.m_txtNeed.text = costNeed.ToString();
|
|
-
|
|
|
|
|
|
+ _comStarCousumeGold = UI_ComCostCurrencyWithHas.Proxy(_comFosterBottom.m_comStarCousumeGold);
|
|
ItemUtil.SetItemNumAndNeedNum(_comStarCousumeGold.target, cardStarCfg.costID, cardStarCfg.costNum);
|
|
ItemUtil.SetItemNumAndNeedNum(_comStarCousumeGold.target, cardStarCfg.costID, cardStarCfg.costNum);
|
|
-
|
|
|
|
|
|
+ UI_ComCostCurrencyWithHas.ProxyEnd();
|
|
_comFosterBottom.m_listStarConsume.data = cardStarCfg;
|
|
_comFosterBottom.m_listStarConsume.data = cardStarCfg;
|
|
_comFosterBottom.m_listStarConsume.numItems = cardStarCfg.materiarsArr.Length;
|
|
_comFosterBottom.m_listStarConsume.numItems = cardStarCfg.materiarsArr.Length;
|
|
|
|
|