diff --git a/Client/Assets/Scripts/Utils/FileHandler.cs b/Client/Assets/Scripts/Utils/FileHandler.cs
index ac0ee43..9253f5f 100644
--- a/Client/Assets/Scripts/Utils/FileHandler.cs
+++ b/Client/Assets/Scripts/Utils/FileHandler.cs
@@ -228,6 +228,24 @@ namespace Utils
return xmlDocuments;
}
+ ///
+ /// 获取指定单个路径下的所有 XML 文件。
+ ///
+ /// 文件夹路径。
+ /// 包含所有 XML 文件路径的列表。
+ public static List GetXmlFilePathsFromPath(string path)
+ {
+ return GetXmlFilePathsFromPaths(new[] { path });
+ }
+ ///
+ /// 从指定单个路径加载所有 XML 文件并解析为 XmlDocument 对象。
+ ///
+ /// 文件夹路径。
+ /// 包含所有解析后的 XmlDocument 对象的列表。
+ public static List LoadXmlFromPath(string path)
+ {
+ return LoadXmlFromPaths(new[] { path });
+ }
}
}
\ No newline at end of file