GeWuYou b49079de3e style(coding-style): 统一代码风格并优化文档格式
- 移除多余using语句和空行,统一代码缩进格式
- 优化注释文档中的缩进和对齐格式
- 简化条件语句和方法实现,提升代码可读性
- 重构协程系统相关类的字段和方法定义格式
- 更新架构服务中容器访问方式的实现
- 调整异步操作类的属性和方法组织结构
- [skip ci]
2026-01-27 20:30:04 +08:00

25 lines
837 B
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

namespace GFramework.Game.Abstractions.enums;
/// <summary>
/// UI切换阶段枚举定义UI切换过程中的不同阶段
/// </summary>
[Flags]
public enum UITransitionPhases
{
/// <summary>
/// UI切换前阶段在此阶段执行的Handler可以阻塞UI切换流程
/// 适用于:淡入淡出动画、用户确认对话框、数据预加载等需要等待完成的操作
/// </summary>
BeforeChange = 1,
/// <summary>
/// UI切换后阶段在此阶段执行的Handler不阻塞UI切换流程
/// 适用于:播放音效、日志记录、统计数据收集等后台操作
/// </summary>
AfterChange = 2,
/// <summary>
/// 所有阶段Handler将在BeforeChange和AfterChange阶段都执行
/// </summary>
All = BeforeChange | AfterChange
}