fix:1、修复bug。2、添加音效

This commit is contained in:
2026-07-15 14:42:52 +08:00
parent 5ba85e6778
commit 2934687ce0
16 changed files with 39 additions and 29 deletions
@@ -216,7 +216,7 @@ namespace RedHotRoast
Debug.Log(ConfigSystem.GetCommonConf().ExpiryUnlock);
str = $"{makeupTaskData.LvVideoCount}/{ConfigSystem.GetCommonConf().ExpiryUnlock}";
ui.lab_ads.text = Language.GetContentParams("owner_ad", str);
ui.text_nowch.text = GameHelper.Get102Str(DataMgr.Ticket.Value);
ui.text_nowch.text = DataMgr.Ticket.Value.ToString();
ui.text_ch_title.text = Language.GetContentParams("need_lv_text", vo.levels_need);
if (GameHelper.IsGiftSwitch() && ConfigSystem.GetCommonConf().PiggyBankSwitch == 1)
{
@@ -320,7 +320,7 @@ namespace RedHotRoast
Debug.Log(ConfigSystem.GetCommonConf().ExpiryUnlock);
str = $"{makeupTaskData.LvVideoCount}/{ ConfigSystem.GetCommonConf().ExpiryUnlock}";
ui.lab_ads.text = Language.GetContentParams("owner_ad", str);
ui.text_nowch.text = GameHelper.Get102Str(DataMgr.Ticket.Value);
ui.text_nowch.text = DataMgr.Ticket.Value.ToString();
ui.text_ch_title.text = Language.GetContentParams("need_lv_text", vo.levels_need);
if (GameHelper.IsGiftSwitch() && ConfigSystem.GetCommonConf().PiggyBankSwitch == 1)
{
@@ -639,7 +639,7 @@ namespace RedHotRoast
ui.text_condi1.text = GameHelper.getChString(vo.item_need);
ui.pb_condi1.max = vo.item_need;
Debug.Log($"DataMgr.Ticket.Value==============={DataMgr.Ticket.Value}");
ui.text_ch_number.text = GameHelper.getChString(DataMgr.Ticket.Value);
ui.text_ch_number.text = DataMgr.Ticket.Value.ToString();
var curValue = Math.Min(DataMgr.Ticket.Value, vo.item_need);
ui.pb_condi1.value = (double)curValue;
var textTitle = ui.pb_condi1.GetChild("title");