This commit is contained in:
2026-06-04 17:10:40 +08:00
parent 8f482df1d5
commit 671ca265ed
30 changed files with 323 additions and 58 deletions
@@ -331,7 +331,7 @@ namespace BingoBrain
{
ui.btn_ballon.touchable = true;
GameDispatcher.Instance.Dispatch(BingoInfo.RefreshMakeupData);
}, ui.btn_ballon, GameHelper.IsGiftSwitch() ? ui.makeup.cash_text : null);
}, ui.btn_ballon);
}
});
}
@@ -528,11 +528,11 @@ namespace BingoBrain
// {
// return;
// }
DOVirtual.Float(0, (float)PreferencesMgr.Instance.Currency102, 1,
value => { ui.makeup.cash_text.text = value.ToString("0.00"); });
// DOVirtual.Float(0, (float)PreferencesMgr.Instance.Currency102, 1,
// value => { ui.makeup.cash_text.text = value.ToString("0.00"); });
ui.makeup.cash_progress_text.text = PreferencesMgr.Instance.Currency102 + "/" + vo.item_need;
ui.makeup.cash_progress.value = ((float)PreferencesMgr.Instance.Currency102 * 100) / vo.item_need;
// ui.makeup.cash_progress_text.text = PreferencesMgr.Instance.Currency102 + "/" + vo.item_need;
// ui.makeup.cash_progress.value = ((float)PreferencesMgr.Instance.Currency102 * 100) / vo.item_need;
// var leftCash = (double)Math.Max(vo.item_need - PreferencesMgr.Instance.Currency101, 0);
// com_box.text_more.SetVar("left", GameHelper.Get101Str((decimal)leftCash)).FlushVars();
// com_box.pb_num.max = vo.item_need;