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