From 0fa617a09eedf6bdb25eda55fac1d3344859fd93 Mon Sep 17 00:00:00 2001
From: yyl <yyl>
Date: 星期二, 31 三月 2026 19:46:31 +0800
Subject: [PATCH] webgl

---
 Main/System/AssetVersion/InGameDownTestUtility.cs |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/Main/System/AssetVersion/InGameDownTestUtility.cs b/Main/System/AssetVersion/InGameDownTestUtility.cs
index caa503a..6d531cc 100644
--- a/Main/System/AssetVersion/InGameDownTestUtility.cs
+++ b/Main/System/AssetVersion/InGameDownTestUtility.cs
@@ -45,7 +45,9 @@
 
     public static void ClearAssets()
     {
+#if !UNITY_WEBGL
         Directory.Delete(Application.persistentDataPath, true);
+#endif
         LocalSave.DeleteKey("HasDownLoadFullAsset");
     }
 

--
Gitblit v1.8.0