bingo b面修改

This commit is contained in:
2026-05-08 11:03:44 +08:00
parent ad5920ac6a
commit 5d32fd56f4
1780 changed files with 36187 additions and 73978 deletions
@@ -97,16 +97,16 @@ namespace BingoBrain
openDebug();
});
ui.btn_debug.SetClick(() =>
{
OnclickDebug();
});
// ui.btn_debug.SetClick(() =>
// {
// OnclickDebug();
// });
#if BingoBrainRelease
ui.btn_debug.visible = false;
ui.btn_showmax.visible = false;
#endif
}
int debugTimes = 0;
private void OnclickDebug()
private void OnclickDebug()
{
debugTimes++;
GameHelper.ShowTips($"时间已设置为{debugTimes}天后。");
@@ -140,31 +140,31 @@ namespace BingoBrain
public void OnClickBtn()
{
WebviewManager.Instance.SetFullScreen();
int flyswitch = ConfigSystem.GetConfig<CommonModel>().flyswitch;
int propswitch = ConfigSystem.GetConfig<CommonModel>().propswitch;
// WebviewManager.Instance.SetFullScreen();
// int flyswitch = ConfigSystem.GetConfig<CommonModel>().flyswitch;
// int propswitch = ConfigSystem.GetConfig<CommonModel>().propswitch;
float top_offset = 170;//fgui中的顶部信息的高度
float buttom_offset = 178;
if (Screen.safeArea.y != 0)
{//刘海屏
top_offset += Screen.safeArea.y;
}
int offset_y = ConfigSystem.GetConfig<CommonModel>().WVOffset[0];
int offset_y1 = ConfigSystem.GetConfig<CommonModel>().WVOffset[1];
WebviewManager.Instance.SetPadding(0, top_offset / GRoot.inst.height, 0, buttom_offset / GRoot.inst.height);
WebviewManager.Instance.SetOffset(offset_y, offset_y1);
// float top_offset = 170;//fgui中的顶部信息的高度
// float buttom_offset = 178;
// if (Screen.safeArea.y != 0)
// {//刘海屏
// top_offset += Screen.safeArea.y;
// }
// int offset_y = ConfigSystem.GetConfig<CommonModel>().WVOffset[0];
// int offset_y1 = ConfigSystem.GetConfig<CommonModel>().WVOffset[1];
// WebviewManager.Instance.SetPadding(0, top_offset / GRoot.inst.height, 0, buttom_offset / GRoot.inst.height);
// WebviewManager.Instance.SetOffset(offset_y, offset_y1);
WebviewManager.Instance.RefreshUrl();
Debug.Log($"flyswitch==1 ------ {flyswitch == 1}");
Debug.Log($"propswitch==1 ------ {propswitch == 1}");
WebviewManager.Instance.setFlyBtnTag(flyswitch == 1);
WebviewManager.Instance.setRewardBtnTag(propswitch == 1);
WebviewManager.Instance.SetDarkThough(true);
WebviewManager.Instance.ShowH5View(false);
WebviewManager.Instance.SetBtn(ConfigSystem.GetConfig<CommonModel>().propCoord[0], ConfigSystem.GetConfig<CommonModel>().propCoord[1], 60, 60);
// WebviewManager.Instance.RefreshUrl();
// Debug.Log($"flyswitch==1 ------ {flyswitch == 1}");
// Debug.Log($"propswitch==1 ------ {propswitch == 1}");
// WebviewManager.Instance.setFlyBtnTag(flyswitch == 1);
// WebviewManager.Instance.setRewardBtnTag(propswitch == 1);
// WebviewManager.Instance.SetDarkThough(true);
// WebviewManager.Instance.ShowH5View(false);
// WebviewManager.Instance.SetBtn(ConfigSystem.GetConfig<CommonModel>().propCoord[0], ConfigSystem.GetConfig<CommonModel>().propCoord[1], 60, 60);
if (GameHelper.IsGiftSwitch())
{