mirror of
https://github.com/GeWuYou/GFramework.git
synced 2026-05-07 00:39:00 +08:00
15 lines
566 B
C#
15 lines
566 B
C#
// Copyright (c) 2025-2026 GeWuYou
|
||
// SPDX-License-Identifier: Apache-2.0
|
||
|
||
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; |