feat(setting): 添加本地化设置测试并优化依赖注入

- 在 GodotLocalizationSettingsTests 中添加核心本地化接口引用
- 为 GodotLocalizationSettings 添加架构依赖项
- 配置 Godot 全局命名空间以便更简单的 API 访问
- 更新测试文件中的设置数据抽象层依赖项
- 简化 Godot 项目中的全局 using 指令结构
This commit is contained in:
GeWuYou 2026-04-05 20:08:28 +08:00
parent d588372cff
commit e84af1512d
3 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,6 @@
using GFramework.Core.Abstractions.Localization;
using GFramework.Game.Abstractions.Setting;
using GFramework.Game.Abstractions.Setting.Data;
using GFramework.Godot.Setting;
using GFramework.Godot.Setting.Data;

View File

@ -15,4 +15,5 @@ global using System;
global using System.Collections.Generic;
global using System.Linq;
global using System.Threading;
global using System.Threading.Tasks;
global using System.Threading.Tasks;
global using Godot;

View File

@ -12,6 +12,7 @@
// limitations under the License.
using GFramework.Core.Abstractions.Localization;
using GFramework.Core.Architectures;
using GFramework.Game.Abstractions.Setting;
using GFramework.Game.Abstractions.Setting.Data;
using GFramework.Godot.Setting.Data;