换皮
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user