| | |
| | | [SerializeField] Text buyPriceTextZZ;
|
| | | [SerializeField] Text remainTimeText;
|
| | | [SerializeField] Text CntBuyZZCnt;
|
| | | [SerializeField] Text FireScoreTotal;
|
| | |
|
| | | List<FairylandCeremonyModel.AwardItem> itemlist;
|
| | | List<FairylandCeremonyModel.AwardItem> itemlistZZ;
|
| | |
| | | int moneyPerCount = int.Parse(fireAwardConfig.Numerical3);
|
| | | int total = ceremonyModel.ctgTotal / moneyPerCount;
|
| | |
|
| | | FireScoreTotal.text = ceremonyModel.score.ToString();
|
| | |
|
| | | if (total - ceremonyModel.fireworksBuyCount <= 0)
|
| | | CntBuyZZCnt.text = StringUtility.Contact("<color=#FF0000FF>", 0, "/", total, "</color>");
|
| | | else
|
| | |
| | | SysNotifyMgr.Instance.ShowTip("BagFull");
|
| | | return;
|
| | | }
|
| | | FuncConfigConfig fireAwardConfig = FuncConfigConfig.Get("CeremonyFireParty");
|
| | | int moneyPerCount = int.Parse(fireAwardConfig.Numerical3);
|
| | |
|
| | | if (ceremonyModel.ctgTotal / moneyPerCount - ceremonyModel.fireworksBuyCount <= 0)
|
| | | {
|
| | | SysNotifyMgr.Instance.ShowTip("NoBuyFireCnt");
|
| | | return;
|
| | | }
|
| | | storeModel.OnClickShopCell(storeConfigZZ);
|
| | | }
|
| | |
|