This commit is contained in:
2026-05-22 15:54:24 +08:00
parent a9497b537d
commit 66a76d651e
152 changed files with 502 additions and 790 deletions
@@ -107,7 +107,7 @@ namespace ChillConnect
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())
{
@@ -172,7 +172,7 @@ namespace ChillConnect
void GetAward(decimal gold, int index)
{
var item = ui.shop_panel_parent.shopPanel.gold_list.GetChildAt(index);
var item = ui.gold_list.GetChildAt(index);
var start = GameHelper.GetUICenterPosition(item);
var end = GameHelper.GetUICenterPosition(ui.top_gold.GetChild("gold_anim"));
@@ -271,8 +271,8 @@ namespace ChillConnect
void initList()
{
ui.shop_panel_parent.shopPanel.gold_list.itemRenderer = setRemaintime;
ui.shop_panel_parent.shopPanel.gold_list.numItems = list.Count > 6 ? 6 : list.Count;
ui.gold_list.itemRenderer = setRemaintime;
ui.gold_list.numItems = list.Count > 6 ? 6 : list.Count;
SetTextString();
}