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