mirror of
https://github.com/GeWuYou/GFramework.git
synced 2026-03-25 04:47:14 +08:00
- 将IGodotAssetRegistry重命名为IGodotUiRegistry - 将GodotAssetRegistry重命名为GodotUiRegistry - 更新GodotUiFactory中的依赖注入类型 - 为IGodotSceneRegistry接口添加详细的XML文档注释 - 移除GodotUiFactory中不必要的Godot命名空间引用
12 lines
479 B
C#
12 lines
479 B
C#
using GFramework.Core.Abstractions.registries;
|
||
using Godot;
|
||
|
||
namespace GFramework.Godot.ui;
|
||
|
||
/// <summary>
|
||
/// Godot UI注册表类,用于管理UI相关的PackedScene资源
|
||
/// 继承自KeyValueRegistryBase,使用字符串作为键,PackedScene作为值进行存储
|
||
/// 实现IUiRegistry接口,提供UI场景的注册和管理功能
|
||
/// </summary>
|
||
public class GodotUiRegistry()
|
||
: KeyValueRegistryBase<string, PackedScene>(StringComparer.Ordinal), IGodotUiRegistry; |