GeWuYou fb14d7122c docs(style): 更新文档中的命名空间导入格式
- 将所有小写的命名空间导入更正为首字母大写格式
- 统一 GFramework 框架的命名空间引用规范
- 修复 core、ecs、godot 等模块的命名空间导入错误
- 标准化文档示例代码中的 using 语句格式
- 确保所有文档中的命名空间引用保持一致性
- 更新 global using 语句以匹配正确的命名空间格式
2026-03-10 07:18:49 +08:00

28 lines
842 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.Godot.Coroutine;
/// <summary>
/// 定义协程执行的不同时间段枚举
/// </summary>
public enum Segment
{
/// <summary>
/// 普通处理阶段,在每一帧的常规处理过程中执行(默认用于游戏级协程)
/// </summary>
Process,
/// <summary>
/// 在暂停状态下仍然执行的处理阶段适合暂停菜单等需要继续更新的UI级协程
/// </summary>
ProcessIgnorePause,
/// <summary>
/// 物理处理阶段,在物理更新循环中执行,通常用于需要与物理引擎同步的操作
/// </summary>
PhysicsProcess,
/// <summary>
/// 延迟处理阶段,在当前帧结束后延迟执行,通常用于需要等待当前帧完成后再执行的操作
/// </summary>
DeferredProcess
}