存档功能
This commit is contained in:
@@ -70,8 +70,6 @@ namespace AibisDream.FixSystem
|
||||
{
|
||||
heatMapController = transform.Find("HeatMapController").GetComponent<HeatMapController>();
|
||||
}
|
||||
|
||||
Debug.Log("Register");
|
||||
FixSystemCenter.SystemDic.Register(this);
|
||||
}
|
||||
|
||||
@@ -189,12 +187,12 @@ namespace AibisDream.FixSystem
|
||||
|
||||
#region 数据加载与保存
|
||||
|
||||
public override string[] GetDataKeyOptions()
|
||||
public override string GetConfigPath()
|
||||
{
|
||||
return _keyOptions ??= ConfigUtil.Instance.GetFileNames(DataPath);
|
||||
return DataPath;
|
||||
}
|
||||
|
||||
public override void Load()
|
||||
public override void LoadLevel()
|
||||
{
|
||||
if (string.IsNullOrEmpty(CurDataKey))
|
||||
{
|
||||
@@ -248,7 +246,7 @@ namespace AibisDream.FixSystem
|
||||
BodyModules = newModules;
|
||||
}
|
||||
|
||||
public override void Save()
|
||||
public override void SaveLevel()
|
||||
{
|
||||
if (string.IsNullOrEmpty(CurDataKey)) return;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user