三国卡牌客户端基础资源仓库
hch
2026-05-19 2b58e2ea2fc26e9aa58e960c2bbcde8f564ba0ae
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 正式包:
@@ -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();