update: 更新到godot4.4.1,并大量重构代码
This commit is contained in:
@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user