fix: 修复 CDNLoader 初始化的 BUG

deeplink
胡宇飞 2024-03-20 18:27:19 +08:00
parent 9c7e8ac83c
commit 17d9b14cd2
1 changed files with 1 additions and 1 deletions

View File

@ -98,7 +98,7 @@ public class CDNLoader : MonoBehaviour
public static CDNLoader Create(string defaultValue = "", string remoteKey = "")
{
// 注入自定义的 CDNConfigKey, 可读取自定义的Default配置
if(!string.IsNullOrEmpty(remoteKey)) CDNConfig.CdnConfigRemoteKey = remoteKey;
if(string.IsNullOrEmpty(remoteKey)) remoteKey = CDNConfig.CdnConfigRemoteKey;
if (!string.IsNullOrEmpty(defaultValue))
{