From 91736aa8b64c1c5a7c6dd442bdfd3632dfa57ca2 Mon Sep 17 00:00:00 2001
From: yyl <yyl>
Date: 星期一, 26 五月 2025 17:38:11 +0800
Subject: [PATCH] 18 子 2D卡牌客户端搭建 / 2D卡牌客户端搭建
---
Assets/Launch/Common/ResourcesPath.cs | 71 -----------------------------------
1 files changed, 0 insertions(+), 71 deletions(-)
diff --git a/Assets/Launch/Common/ResourcesPath.cs b/Assets/Launch/Common/ResourcesPath.cs
index 1e2efa2..f7aeb18 100644
--- a/Assets/Launch/Common/ResourcesPath.cs
+++ b/Assets/Launch/Common/ResourcesPath.cs
@@ -80,75 +80,4 @@
Debug.Log("External Path: " + ExternalStorePath);
}
- public void CleanCache()
- {
- // ConfirmCancel.ShowPopConfirm(Language.Get("Mail101"),
- // Language.Get("CleanCache2"), (bool isOk) =>
- // {
- // if (isOk)
- // {
- // try
- // {
- // // 鑾峰彇persistentDataPath涓嬬殑鎵�鏈夋枃浠跺拰鏂囦欢澶�
- // string[] files = Directory.GetFiles(ExternalStorePath);
- // string[] dirs = Directory.GetDirectories(ExternalStorePath);
-
- // // 鍒犻櫎鎵�鏈夋枃浠�
- // foreach (string file in files)
- // {
- // if (file.Contains("config"))
- // {
- // continue;
- // }
- // File.Delete(file);
- // }
-
-
- // // 閫掑綊鍒犻櫎鎵�鏈夋枃浠跺す
- // foreach (string dir in dirs)
- // {
- // if (dir.Contains("config"))
- // {
- // continue;
- // }
- // Directory.Delete(dir, true);
- // }
-
- // files = Directory.GetFiles(ExternalStorePath + "/config");
- // foreach (string file in files)
- // {
- // bool isDelete = true;
- // foreach (string filename in ConfigInitiator.builtinConfig)
- // {
- // if (file.Contains(filename))
- // {
- // isDelete = false;
- // break;
- // }
- // }
-
- // if (isDelete)
- // File.Delete(file);
- // }
-
-
- // }
- // catch (System.Exception e)
- // {
- // Debug.LogError("Failed to clean persistent data: " + e.Message);
- // }
- // finally
- // {
- // Clock.AlarmAfter(0.1f, () =>
- // {
- // Application.Quit();
- // });
- // Debug.Log("Persistent data cleaned.");
- // }
-
- // }
- // });
-
-
- }
}
--
Gitblit v1.8.0