修改bug
This commit is contained in:
@@ -4,6 +4,7 @@ using DG.Tweening;
|
||||
using FairyGUI;
|
||||
using FGUI.store_17;
|
||||
using IgnoreOPS;
|
||||
using Newtonsoft.Json;
|
||||
using SGModule.Net;
|
||||
using SGModule.NetKit;
|
||||
using Spine.Unity;
|
||||
@@ -102,12 +103,11 @@ namespace ChillConnect
|
||||
|
||||
|
||||
PaidgiftList = ConfigSystem.GetConfig<PaidgiftModel>().DataList;
|
||||
|
||||
// NetworkKit.BuriedPoint(BuriedPointEvent.Apple_pay_event, BuriedPointEvent.gold_show, 1);
|
||||
TrackKit.SendEvent(GameHelper.getTrackEvenName(),Property.GoldShow);
|
||||
TrackKit.SendEvent(GameHelper.getTrackEvenName(), Property.GoldShow);
|
||||
|
||||
ui.top_gold.GetChild("text_gold").text = GameHelper.Get101Str(GameHelper.GetGoldNumber());
|
||||
// ui.shop_panel_parent.shopPanel.pay_type.selectedIndex = !GameHelper.IsAdModelOfPay() ? 1 : 0;
|
||||
// ui.shop_panel_parent.shopPanel.pay_type.selectedIndex = !GameHelper.IsAdModelOfPay() ? 1 : 0;
|
||||
|
||||
if (GameHelper.IsAdModelOfPay())
|
||||
{
|
||||
@@ -246,7 +246,7 @@ namespace ChillConnect
|
||||
{
|
||||
|
||||
// NetworkKit.BuriedPoint(BuriedPointEvent.Apple_AD_event, BuriedPointEvent.gold_click_ad,1);
|
||||
TrackKit.SendEvent(GameHelper.getTrackEvenName(),Property.GoldClickAd);
|
||||
TrackKit.SendEvent(GameHelper.getTrackEvenName(), Property.GoldClickAd);
|
||||
|
||||
GameHelper.ShowVideoAd("BuyGold", issuccess =>
|
||||
{
|
||||
@@ -323,7 +323,7 @@ namespace ChillConnect
|
||||
{
|
||||
item.btn_buy.can_buy.selectedIndex = 0;
|
||||
decimal price = (decimal)list[index].Payment_amount2;
|
||||
item.btn_buy.btn_text.text = GameHelper.getPrice(price);
|
||||
item.btn_buy.btn_text.text = GameHelper.getPrice(price);
|
||||
|
||||
if (GameHelper.IsGiftSwitch() && ConfigSystem.GetConfig<CommonModel>().PiggyBankSwitch == 1)
|
||||
{
|
||||
@@ -337,12 +337,12 @@ namespace ChillConnect
|
||||
if (myAds >= needAds)
|
||||
{
|
||||
item.btn_buy.can_buy.selectedIndex = 0;
|
||||
item.btn_buy.btn_text.text = "Redeem";
|
||||
item.btn_buy.btn_text.text = needAds + "ADs";
|
||||
}
|
||||
else
|
||||
{
|
||||
item.btn_buy.can_buy.selectedIndex = 1;
|
||||
item.btn_buy.btn_text.text = myAds + "/" + needAds;
|
||||
item.btn_buy.btn_text.text = needAds + "ADs";
|
||||
}
|
||||
|
||||
item.text_ads.SetVar("ads", needAds.ToString()).FlushVars();
|
||||
|
||||
Reference in New Issue
Block a user