fix:1、添加H5

This commit is contained in:
barry
2026-05-25 09:45:16 +08:00
parent 8144a27fdb
commit 5f68fe42c1
276 changed files with 46771 additions and 27478 deletions
+7 -1
View File
@@ -118,6 +118,7 @@ namespace RedHotRoast
if (Screen.safeArea.y != 0)
{
ui.group_.y += Screen.safeArea.y - 15;
ui.btn_wv.y += 20;
}
GameHelper.IsShowFirstReward();
ui.gift_switch.selectedIndex = GameHelper.IsGiftSwitch() ? 1 : 0;
@@ -442,6 +443,11 @@ namespace RedHotRoast
ui.btn_refresh.SetClick(RefreshFunc);
ui.btn_wv.SetClick(() =>
{
UICtrlDispatcher.Instance.Dispatch(UICtrlMsg.H5UI_Open);
});
ui.btn_back.SetClick(() =>
{
UICtrlDispatcher.Instance.Dispatch(UICtrlMsg.SheepwindowUI_Open, 1);
@@ -581,7 +587,7 @@ namespace RedHotRoast
ui.btn_three_day.SetClick(() =>
{
uiCtrlDispatcher.Dispatch(UICtrlMsg.ThreeDaysGiftUI_Open);
// uiCtrlDispatcher.Dispatch(UICtrlMsg.ThreeDaysGiftUI_Open);
});
ui.btn_look_ad.SetClick(() => { LookAd(); });
Setbg();