mirror of
https://github.com/tuyoogame/YooAsset.git
synced 2026-05-28 19:48:47 +00:00
update runtime code
新增方法YooAssets.SetCacheSystemDisableCacheOnWebGL()
This commit is contained in:
@@ -258,6 +258,14 @@ namespace YooAsset
|
||||
|
||||
PersistentTools.OverwriteSandboxPath(sandboxPath);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 设置缓存系统参数,禁用缓存在WebGL平台
|
||||
/// </summary>
|
||||
public static void SetCacheSystemDisableCacheOnWebGL()
|
||||
{
|
||||
CacheSystem.DisableUnityCacheOnWebGL = true;
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 沙盒相关
|
||||
|
||||
Reference in New Issue
Block a user