a面修改
This commit is contained in:
@@ -271,6 +271,11 @@ namespace ChillConnect
|
||||
|
||||
void initList()
|
||||
{
|
||||
if (!GameHelper.IsGiftSwitch())
|
||||
{
|
||||
list = list.GetRange(0, 2);
|
||||
list[1].Payment_amount = 1;
|
||||
}
|
||||
ui.gold_list.itemRenderer = setRemaintime;
|
||||
ui.gold_list.numItems = list.Count > 6 ? 6 : list.Count;
|
||||
|
||||
@@ -337,12 +342,14 @@ namespace ChillConnect
|
||||
if (myAds >= needAds)
|
||||
{
|
||||
item.btn_buy.can_buy.selectedIndex = 0;
|
||||
item.btn_buy.btn_text.text = needAds + "ADs";
|
||||
// item.btn_buy.btn_text.text = needAds + "ADs";
|
||||
item.btn_buy.btn_text.text = "Claim";
|
||||
}
|
||||
else
|
||||
{
|
||||
item.btn_buy.can_buy.selectedIndex = 1;
|
||||
item.btn_buy.btn_text.text = needAds + "ADs";
|
||||
item.btn_buy.btn_text.text = "Watch " + myAds + "/" + needAds + " AD";
|
||||
// item.btn_buy.btn_text.text = + "ADs";
|
||||
}
|
||||
|
||||
item.text_ads.SetVar("ads", needAds.ToString()).FlushVars();
|
||||
|
||||
Reference in New Issue
Block a user