chore: initial commit
This commit is contained in:
12
Assets/Scripts/Core/Save/ISaveable.cs
Normal file
12
Assets/Scripts/Core/Save/ISaveable.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
namespace BaseGames.Core.Save
|
||||
{
|
||||
/// <summary>
|
||||
/// 各游戏系统组件实现此接口,
|
||||
/// 向 SaveManager 提供/接受自己的存档数据。
|
||||
/// </summary>
|
||||
public interface ISaveable
|
||||
{
|
||||
void OnSave(SaveData saveData);
|
||||
void OnLoad(SaveData saveData);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user