update runtime code

新增方法YooAssets.SetCacheSystemDisableCacheOnWebGL()
This commit is contained in:
hevinci
2023-06-28 17:46:32 +08:00
parent 3ca300d956
commit f5c72e913f
3 changed files with 26 additions and 4 deletions

View File

@@ -258,6 +258,14 @@ namespace YooAsset
PersistentTools.OverwriteSandboxPath(sandboxPath);
}
/// <summary>
/// 设置缓存系统参数禁用缓存在WebGL平台
/// </summary>
public static void SetCacheSystemDisableCacheOnWebGL()
{
CacheSystem.DisableUnityCacheOnWebGL = true;
}
#endregion
#region