From 1e442c6bb32ae4754addb13db36a23e63fd19a1a Mon Sep 17 00:00:00 2001 From: changyunjia <> Date: Tue, 2 Jun 2026 17:38:08 +0800 Subject: [PATCH] =?UTF-8?q?h5=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Assets/Plugins/iOS/H5View.m | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/Assets/Plugins/iOS/H5View.m b/Assets/Plugins/iOS/H5View.m index a1bf5fa..9825e9f 100644 --- a/Assets/Plugins/iOS/H5View.m +++ b/Assets/Plugins/iOS/H5View.m @@ -150,13 +150,13 @@ [self.window.rootViewController.view addSubview:custom]; - - UnityFramework *unityFramework = [UnityFramework getInstance]; - UnityAppController *appController = [unityFramework appController]; - - // 获取 Unity 根节点视图 - UIView *unityRootView = [appController rootView]; - unityRootView.alpha=0.2; +// +// UnityFramework *unityFramework = [UnityFramework getInstance]; +// UnityAppController *appController = [unityFramework appController]; +// +// // 获取 Unity 根节点视图 +// UIView *unityRootView = [appController rootView]; +// unityRootView.alpha=0.2; } -(void)initWebview:(int)type{ @@ -307,7 +307,7 @@ [self addSubview:webviews[type]]; webviews[type].allowsLinkPreview = NO; [self insertSubview:webviews[type] atIndex:0]; - webviews[type] .alpha=0.5; + // webviews[type] .alpha=0.5; // if(type==2){ // webview_1 = [[WKWebView alloc] initWithFrame:self.frame configuration:webViewConfiguration];