update: 更新到godot4.4.1,并大量重构代码

This commit is contained in:
ZZY
2025-06-09 18:17:06 +08:00
parent b27abb55a2
commit 3fa39fc71e
39 changed files with 801 additions and 790 deletions

View File

@ -1,6 +1,5 @@
using Godot;
using System.Collections.Generic;
using System.IO;
class GodotConfigManager {
private readonly string ConfigFilePath;
@ -41,8 +40,8 @@ class GodotConfigManager {
}
}
public void SaveConfig(string SessionName,
Dictionary<string, Variant> data) {
public void SaveConfig(string SessionName, Dictionary<string, Variant> data)
{
// 将 GlobalConfig 中的键值对写入配置文件
foreach (var key in data.Keys)
{