fix:1、添加跳链接的webview的插件。2、修复bug
This commit is contained in:
@@ -109,6 +109,9 @@ namespace RedHotRoast
|
||||
ui.btn_watch.SetClick(WatchBtnClick);
|
||||
AdExchangeManager.Instance.SetWatchAd(AdExchangeManager.SavingPotMakeupAd, ui.btn_task_watch as btn_watchAd, () => { });
|
||||
AdExchangeManager.Instance.Start();
|
||||
|
||||
ui.text_rate1.text = GameHelper.GetExchangeRateVo().Payicon + " 1";
|
||||
ui.text_rate.text = GameHelper.GetExchangeRateVo().Payicon + " 1";
|
||||
|
||||
ad_cool_down = ConfigSystem.GetCommonConf().WwalaccelerationCD;
|
||||
HallManager.Instance.UpdateSecondEvent += updateSpeedCD;
|
||||
@@ -156,7 +159,8 @@ namespace RedHotRoast
|
||||
private void InitView()
|
||||
{
|
||||
Makeup_2 makeupVo = MakeupModel_2.GetData(makeupTaskData.tableId);
|
||||
ui.text_ad.text = string.Format(GameHelper.getDesByKey("saving_pot_5"), makeupVo.ADIncrease);
|
||||
ui.text_ad.text = string.Format(GameHelper.getDesByKey("saving_pot_5"),
|
||||
SaveingPotHelper.getChNumber(makeupVo.ADIncrease));
|
||||
string str = string.Format(GameHelper.getDesByKey("saving_pot_2"), makeupVo.PayIncrease);
|
||||
ui.text_pay.text = str;
|
||||
initTop();
|
||||
@@ -213,7 +217,7 @@ namespace RedHotRoast
|
||||
});
|
||||
|
||||
HallManager.Instance.UpdateSecondEvent -= upLvWatchAdsBtn;
|
||||
InitView();
|
||||
DOVirtual.DelayedCall(0.1f, InitView);
|
||||
}
|
||||
if (SaveData.GetSaveObject().saveingpot_ch > SaveData.GetSaveObject().last_saveingpot_ch)
|
||||
{
|
||||
@@ -344,7 +348,6 @@ namespace RedHotRoast
|
||||
btn_watchad.enabled = true;
|
||||
btn_watchad.can_buy.selectedIndex = 0;
|
||||
if (GameHelper.IsGiftSwitch() && ConfigSystem.GetCommonConf().PiggyBankSwitch == 1) btn_watchad.img_saveingpot.visible = true;
|
||||
|
||||
InitView();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user