From 07b13a0159fe95ba2eb7d1869ccd86d4aae334af Mon Sep 17 00:00:00 2001 From: hch <305670599@qq.com> Date: 星期五, 12 四月 2024 12:22:37 +0800 Subject: [PATCH] 0312 修改txt后自动加载 --- Assets/Editor/Tool/ExportVersionConfigEx.cs | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/Assets/Editor/Tool/ExportVersionConfigEx.cs b/Assets/Editor/Tool/ExportVersionConfigEx.cs index 9515407..7d6d60a 100644 --- a/Assets/Editor/Tool/ExportVersionConfigEx.cs +++ b/Assets/Editor/Tool/ExportVersionConfigEx.cs @@ -21,7 +21,8 @@ File.Delete(versionConfigExFile); } File.WriteAllText(versionConfigExFile, json); - + AssetDatabase.SaveAssets(); + AssetDatabase.Refresh(); Debug.Log("鍚屾VersionConfigEx.txt鎴愬姛"); } -- Gitblit v1.8.0