From bcd2a412a50cce853e56ea09594d5dee887cbfd1 Mon Sep 17 00:00:00 2001 From: hevinci Date: Wed, 5 Jul 2023 14:52:13 +0800 Subject: [PATCH] Update InitializeParameters.cs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 1. 新增了InitializeParameters.BuildinRootDirectory字段 2. 新增了InitializeParameters.SandboxRootDirectory字段 --- Assets/YooAsset/Runtime/InitializeParameters.cs | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Assets/YooAsset/Runtime/InitializeParameters.cs b/Assets/YooAsset/Runtime/InitializeParameters.cs index a430f02..03e6548 100644 --- a/Assets/YooAsset/Runtime/InitializeParameters.cs +++ b/Assets/YooAsset/Runtime/InitializeParameters.cs @@ -32,6 +32,18 @@ namespace YooAsset /// public IDecryptionServices DecryptionServices = null; + /// + /// 内置文件的根路径 + /// 注意:当参数为空的时候会使用默认的根目录。 + /// + public string BuildinRootDirectory = string.Empty; + + /// + /// 沙盒文件的根路径 + /// 注意:当参数为空的时候会使用默认的根目录。 + /// + public string SandboxRootDirectory = string.Empty; + /// /// 资源加载每帧处理的最大时间片段 /// 注意:默认值为MaxValue