using UnityEngine;
namespace Demo.Game
{
///
/// 统一Update接口,用于扁平化调度
///
public interface IUpdateable
{
///
/// 直接Update调用,无递归
///
void DoUpdate(float currentTime, float deltaTime, ScriptableObject.TickType tickType);
///
/// 对象名称,用于调试
///
string GetUpdateName();
///
/// 是否已应用脚本
///
bool IsUpdateReady { get; }
}
///
/// Update模式
///
public enum UpdateMode
{
///
/// 永久活跃(整个关卡周期)
///
Permanent,
///
/// 有时间范围限制
///
TimeBound,
///
/// 手动控制激活/停用
///
Manual
}
}