fix:1、修复bug
This commit is contained in:
@@ -6,6 +6,7 @@ using FGUI.ZM_H5_15;
|
||||
using IgnoreOPS;
|
||||
using SGModule.NetKit;
|
||||
using UnityEngine;
|
||||
// using UNSDK;
|
||||
|
||||
namespace ChillConnect
|
||||
{
|
||||
@@ -41,6 +42,7 @@ namespace ChillConnect
|
||||
{
|
||||
FreeWebViewManager.Instance.CloseWeb();
|
||||
|
||||
// SdkConfigMgr.Instance.Close();
|
||||
GameDispatcher.Instance.Dispatch(GameMsg.StopArrowTouch, true);
|
||||
|
||||
GameDispatcher.Instance.Dispatch(GameMsg.showBroadCast);
|
||||
@@ -64,10 +66,7 @@ namespace ChillConnect
|
||||
|
||||
// Debug.Log($"H5UI OpenBefore url: {_config.url} normal: {_config.normal}");
|
||||
|
||||
DOVirtual.DelayedCall(0.1f, () =>
|
||||
{
|
||||
FreeWebViewManager.Instance.OpenWeb(_config.url);
|
||||
});
|
||||
|
||||
|
||||
GameDispatcher.Instance.Dispatch(GameMsg.hideBroadCast);
|
||||
|
||||
@@ -76,8 +75,13 @@ namespace ChillConnect
|
||||
{
|
||||
UICtrlDispatcher.Instance.Dispatch(UICtrlMsg.H5UI_Close);
|
||||
});
|
||||
|
||||
InitView();
|
||||
|
||||
|
||||
DOVirtual.DelayedCall(0.35f, () =>
|
||||
{
|
||||
FreeWebViewManager.Instance.OpenWeb(_config.url);
|
||||
});
|
||||
}
|
||||
|
||||
protected override void OnOpen(object args)
|
||||
|
||||
Reference in New Issue
Block a user