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
@@ -1,3 +1,4 @@
using DontConfuse;
using Spine.Unity;
namespace RedHotRoast
@@ -44,6 +45,11 @@ namespace RedHotRoast
protected override void OnClose()
{
if (UIManager.Instance.IsExistUI(UIConst.H5UI))
{
WebviewManager.Instance.SetDarkThough(true);
}
tween?.Kill();
CommonHelper.FadeOut(ui);
}
@@ -56,6 +62,11 @@ namespace RedHotRoast
protected override void OnOpenBefore(object args)
{
if (UIManager.Instance.IsExistUI(UIConst.H5UI))
{
WebviewManager.Instance.SetDarkThough(false);
}
InitData();
InitView();
ui.btn_null.SetClick(() => { });