parent
a947f2445b
commit
5c82f40e86
|
|
@ -98,7 +98,7 @@ public class CDNLoader : MonoBehaviour
|
||||||
public static CDNLoader Create(string defaultValue = "", string remoteKey = "")
|
public static CDNLoader Create(string defaultValue = "", string remoteKey = "")
|
||||||
{
|
{
|
||||||
// 注入自定义的 CDNConfigKey, 可读取自定义的Default配置
|
// 注入自定义的 CDNConfigKey, 可读取自定义的Default配置
|
||||||
if(!string.IsNullOrEmpty(remoteKey)) CDNConfig.CdnConfigRemoteKey = remoteKey;
|
if(string.IsNullOrEmpty(remoteKey)) remoteKey = CDNConfig.CdnConfigRemoteKey;
|
||||||
|
|
||||||
if (!string.IsNullOrEmpty(defaultValue))
|
if (!string.IsNullOrEmpty(defaultValue))
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue