update editor code

BuildParameters增加共享资源的打包规则字段
This commit is contained in:
hevinci
2023-04-22 17:22:59 +08:00
parent 1b75f4b6e9
commit 9a729f921e
10 changed files with 70 additions and 10 deletions

View File

@@ -40,6 +40,10 @@ namespace YooAsset.Editor
throw new Exception("首包资源标签不能为空!");
}
// 检测共享资源打包规则
if (buildParameters.ShareAssetPackRule == null)
throw new Exception("共享资源打包规则不能为空!");
#if UNITY_WEBGL
if (buildParameters.EncryptionServices != null)
{