gewuyou ff553977e3 chore(license): 补齐 Apache-2.0 文件头治理
- 新增许可证文件头检查与修复脚本

- 补充维护者手动修复 PR 工作流和 CI 校验

- 更新贡献指南中的文件头说明

- 补齐仓库维护源码和配置文件的许可证声明
2026-05-03 19:39:49 +08:00

31 lines
917 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.

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