| | |
| | | initedCoin = false;
|
| | | costCoinPrayerTip.gameObject.SetActive(true);
|
| | | coinPrayerBtnText.text = Language.Get("PrayerWin_8");
|
| | | coinPrayerBtnText.color = new Color32(247, 225, 188, 255);
|
| | | coinPrayerBtnText.color = new Color32(51, 8, 0, 255);
|
| | | coinPrayerCnt.text = StringUtility.Contact(model.GetAllCoinPrayCnt() - model.coinPrayerCnt, "/", model.GetAllCoinPrayCnt());
|
| | | coinPrayerCost.text = model.GetCoinPrayerCost().ToString();
|
| | | coinPrayerBtnImg.SetSprite("CostPrayBtn_a");
|
| | |
| | | else
|
| | | {
|
| | | expPrayerBtnImg.SetSprite("CostPrayBtn_a");
|
| | | expPrayerBtnTxt.color = new Color32(255, 244, 205, 255);
|
| | | expPrayerBtnTxt.color = new Color32(51, 8, 0, 255);
|
| | | expPrayerCntText.text = StringUtility.Contact(model.GetAllExpPrayCnt() - model.expPrayerCnt, "/", model.GetAllExpPrayCnt());
|
| | | expPrayerCostText.text = model.GetExpPrayerCost().ToString();
|
| | | }
|