From 2b58e2ea2fc26e9aa58e960c2bbcde8f564ba0ae Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期二, 19 五月 2026 17:44:30 +0800
Subject: [PATCH] 0312 增加地址输出
---
Assets/Launch/Launch.cs | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/Assets/Launch/Launch.cs b/Assets/Launch/Launch.cs
index abbe593..9465aac 100644
--- a/Assets/Launch/Launch.cs
+++ b/Assets/Launch/Launch.cs
@@ -144,7 +144,7 @@
? null
: WebGLRemoteConfig.CreateRemoteServices();
if (!string.IsNullOrEmpty(webCdnUrl))
- remoteCdnBaseUrl = webCdnUrl + "/" + Application.platform.ToString().ToLower();
+ remoteCdnBaseUrl = webCdnUrl;
Debug.Log($"[Launch] WebGL remoteCdnBaseUrl={remoteCdnBaseUrl ?? WebGLRemoteConfig.ActiveServerURL}");
#else
// 闈� WebGL 姝e紡鍖咃細
@@ -157,7 +157,7 @@
if (!string.IsNullOrEmpty(cdnUrl))
{
playMode = EPlayMode.HostPlayMode;
- remoteCdnBaseUrl = cdnUrl + "/" + Application.platform.ToString().ToLower();
+ remoteCdnBaseUrl = cdnUrl;
Debug.Log($"[Launch] cdnUrl={cdnUrl}, using HostPlayMode");
}
else
@@ -168,7 +168,7 @@
#endif
Debug.Log($"[Launch] Initializing YooAsset early with PlayMode={playMode}");
- await YooAssetInitializer.Instance.InitializeAsync(playMode, remoteServices, remoteCdnBaseUrl);
+ await YooAssetInitializer.Instance.InitializeAsync(playMode, remoteServices, remoteCdnBaseUrl + LocalResManager.fixPath);
#if UNITY_WEBGL
await VersionConfigEx.Get();
--
Gitblit v1.8.0