存档重构,游戏内容解锁机制;教程完善(未完成)
This commit is contained in:
@@ -170,7 +170,14 @@ namespace Ichni
|
||||
|
||||
if (in_type == AkCallbackType.AK_MusicSyncExit)
|
||||
{
|
||||
if (isFinished)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
isFinished = true;
|
||||
// 先持久化再展示结算,确保玩家即使在 Summary 停留期间退出也不会丢失本局成绩。
|
||||
GameManager.Instance.SaveCurrentPlayRecord();
|
||||
GameManager.Instance.summaryPageCanvas.SetUpSummary();
|
||||
GameManager.Instance.summaryPageCanvas.FadeIn();
|
||||
}
|
||||
@@ -184,4 +191,4 @@ namespace Ichni
|
||||
return segmentInfo.iCurrentPosition;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user