mirror of
https://github.com/GeWuYou/GFramework.git
synced 2026-03-22 19:03:29 +08:00
- 移除UiInstancePolicy枚举类型 - 从Push、Replace和Show方法中移除instancePolicy参数 - 从IUiFactory接口中移除缓存相关方法和GetOrCreate方法 - 简化GodotUiFactory实现类,移除缓存池和实例管理逻辑 - 将Pop操作中的Cache策略重命名为Suspend - 将Exclusive策略描述从Pause+Hide改为Pause+Suspend - 修复CanvasItemUiPageBehavior中OnResume方法的节点有效性检查 - [release ci]
18 lines
432 B
C#
18 lines
432 B
C#
namespace GFramework.Game.Abstractions.enums;
|
||
|
||
/// <summary>
|
||
/// UI页面过渡策略枚举
|
||
/// 定义了UI页面在出栈时的不同处理方式
|
||
/// </summary>
|
||
public enum UiTransitionPolicy
|
||
{
|
||
/// <summary>
|
||
/// 独占显示(下层页面 Pause + Suspend)
|
||
/// </summary>
|
||
Exclusive,
|
||
|
||
/// <summary>
|
||
/// 覆盖显示(下层页面仅 Pause,不隐藏)
|
||
/// </summary>
|
||
Overlay
|
||
} |