namespace BaseGames.Core.Save
{
///
/// ISaveable 注册表接口。
/// 将 ISaveable 对象的注册/注销责任与 SaveManager 的具体实现类解耦,
/// 使 SaveableMonoBehaviour 等组件无需直接依赖 。
///
public interface ISaveableRegistry
{
/// 将 加入存档系统管理。
void Register(ISaveable saveable);
/// 将 从存档系统移除。
void Unregister(ISaveable saveable);
}
}