This commit is contained in:
2026-07-15 14:24:29 +08:00
parent b4fc8e6ee8
commit bcfb244b0f
46 changed files with 3659 additions and 294 deletions
@@ -2,6 +2,7 @@ using System;
using System.Collections.Generic;
using System.Linq;
using DG.Tweening;
using DontConfuse;
using FGUI.G004_webview;
using Roy.Datas;
using UnityEngine;
@@ -111,7 +112,7 @@ namespace ScrewsMaster
{
_flySwitch = GameHelper.GetCommonModel().flyswitch == 1;
_propSwitch = GameHelper.GetCommonModel().propswitch == 1;
WebviewManager.Instance.ShowFlyBtn(true);
SdkManager.Instance.ShowFlyBtn(true);
// HallManager.Instance.SetInH5(true);
model.show102 = GameHelper.Get102();
@@ -195,7 +196,7 @@ namespace ScrewsMaster
float amount = (float)iconTime / ConfigSystem.GetConfig<CommonModel>().ThroughRewardCD;
WebviewManager.Instance.SetIconProgress(amount);
SdkManager.Instance.SetIconProgress(amount);
if (!_propSwitch)
{
@@ -319,8 +320,7 @@ namespace ScrewsMaster
{
GameHelper.showGameUI = true;
WebviewManager.Instance.setInH5View(false);
WebviewManager.Instance.ShowH5View(false);
SdkManager.Instance.ShowH5View(false);
// WebThroughUtil.WebThroughDisable(H5WebThroughType.OnlineH5, ui.btn_icon);
StopFly();
countDownKit?.OnDestroy();
@@ -343,8 +343,7 @@ namespace ScrewsMaster
// ui.TopBox.y += Screen.safeArea.y;
}
WebviewManager.Instance.setInH5View(true);
WebviewManager.Instance.ShowH5View(true);
SdkManager.Instance.ShowH5View(true);
makeupTaskData_saveing = SaveData.GetSaveobject().saveingpot_history[SaveData.GetSaveobject().saveingpot_history.Count - 1];
InitData();
InitView();
@@ -406,7 +405,7 @@ namespace ScrewsMaster
// ui.com_fly.visible = leftTime <= 0;
if (leftTime > 0)
{
WebviewManager.Instance.ShowFlyBtn(false);
SdkManager.Instance.ShowFlyBtn(false);
isFlyShow = false;
StopFlyCountdown();
@@ -414,7 +413,7 @@ namespace ScrewsMaster
}
else
{
if (!isFlyShow) WebviewManager.Instance.ShowFlyBtn(true);
if (!isFlyShow) SdkManager.Instance.ShowFlyBtn(true);
isFlyShow = true;
StartFly();