mirror of
https://github.com/GeWuYou/GFramework.git
synced 2026-05-07 17:21:16 +08:00
19 lines
505 B
C#
19 lines
505 B
C#
// Copyright (c) 2025-2026 GeWuYou
|
||
// SPDX-License-Identifier: Apache-2.0
|
||
|
||
using GFramework.Core.Abstractions.Utility;
|
||
|
||
namespace GFramework.Game.Abstractions.UI;
|
||
|
||
/// <summary>
|
||
/// UI工厂接口,用于创建UI页面实例
|
||
/// </summary>
|
||
public interface IUiFactory : IContextUtility
|
||
{
|
||
/// <summary>
|
||
/// 创建或获取UI页面实例
|
||
/// </summary>
|
||
/// <param name="uiKey">UI标识键</param>
|
||
/// <returns>UI页面实例</returns>
|
||
IUiPageBehavior Create(string uiKey);
|
||
} |