update file system

WebGL网页平台支持资源加密。
This commit is contained in:
何冠峰
2025-02-12 16:27:30 +08:00
parent afc456de9a
commit 7936ba31ea
12 changed files with 262 additions and 49 deletions

View File

@@ -47,6 +47,11 @@ namespace YooAsset
/// 自定义参数:跨域下载服务接口
/// </summary>
public IRemoteServices RemoteServices { private set; get; } = null;
/// <summary>
/// 自定义参数:解密方法类
/// </summary>
public IWebDecryptionServices DecryptionServices { private set; get; }
#endregion
@@ -108,6 +113,10 @@ namespace YooAsset
{
RemoteServices = (IRemoteServices)value;
}
else if (name == FileSystemParametersDefine.DECRYPTION_SERVICES)
{
DecryptionServices = (IWebDecryptionServices)value;
}
else
{
YooLogger.Warning($"Invalid parameter : {name}");