fix:1、添加H5
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user