mirror of
https://github.com/GeWuYou/GFramework.git
synced 2026-03-22 19:03:29 +08:00
- 将 IPageBehavior 接口重命名为 IUiPageBehavior 并更新相关引用 - 将 CanvasItemPageBehavior 类重命名为 CanvasItemUiPageBehavior - 更新 Newtonsoft.Json 从 13.0.3 到 13.0.4 - 更新 NUnit3TestAdapter 从 6.0.1 到 6.1.0 - 更新 Microsoft.CodeAnalysis.CSharp.SourceGenerators.Testing 从 1.1.2 到 1.3 - 为多个项目添加 Meziantou.Analyzer 和 Meziantou.Polyfill 包引用
19 lines
536 B
C#
19 lines
536 B
C#
namespace GFramework.Game.Abstractions.ui;
|
||
|
||
/// <summary>
|
||
/// UI根节点接口,定义了UI页面容器的基本操作
|
||
/// </summary>
|
||
public interface IUiRoot
|
||
{
|
||
/// <summary>
|
||
/// 向UI根节点添加子页面
|
||
/// </summary>
|
||
/// <param name="child">要添加的UI页面子节点</param>
|
||
void AddUiPage(IUiPageBehavior child);
|
||
|
||
/// <summary>
|
||
/// 从UI根节点移除子页面
|
||
/// </summary>
|
||
/// <param name="child">要移除的UI页面子节点</param>
|
||
void RemoveUiPage(IUiPageBehavior child);
|
||
} |