Story流程+本地化
This commit is contained in:
@@ -66,8 +66,8 @@ namespace Ichni
|
||||
// 真正进入 GameScene 时,MenuManager.EnterGame 会补充 SongSelection 返回目标。
|
||||
if (PrepareGameLaunch(chapter, song, difficulty, MenuReturnDestination.None))
|
||||
{
|
||||
// 只有玩家真正确认“进入游戏”且命中剧情目标歌曲时,才完成对应 SongBlock。
|
||||
// 单纯从剧情打开选曲、浏览其它歌曲或返回菜单都不会写入剧情进度。
|
||||
// 玩家确认进入游戏即写入 SongSaves.isTried;StoryTree 会根据该统一歌曲存档
|
||||
// 自动同步对应 SongBlock 的完成状态。单纯浏览歌曲或返回菜单不会写入任何进度。
|
||||
StoryManager.instance?.HandleSongSelectionConfirmed(chapter, song);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -239,12 +239,10 @@ namespace Ichni
|
||||
|
||||
private MenuReturnDestination ResolveCurrentReturnDestination()
|
||||
{
|
||||
// 剧情 SongBlock 仅在玩家确认进入指定目标歌曲后才要求返回剧情;
|
||||
// 普通选曲与从剧情入口改选其它歌曲都继续返回选曲页。
|
||||
StorySongEntryContext context = InformationTransistor.instance?.storySongEntryContext;
|
||||
return context != null && context.isActive && context.returnToStoryAfterGame
|
||||
? MenuReturnDestination.Story
|
||||
: MenuReturnDestination.SongSelection;
|
||||
// 所有从 SongSelection 启动的常规歌曲游玩都统一返回 SongSelection。
|
||||
// Story SongBlock 的完成状态由 SongSaves.isTried 自动恢复,无需在 GameScene 返回时
|
||||
// 重新打开 StoryPage;只有 TutorialFlowController 会显式传入 Story 返回目标。
|
||||
return MenuReturnDestination.SongSelection;
|
||||
}
|
||||
|
||||
private void HandleGameSceneLoadFailure(string reason)
|
||||
|
||||
Reference in New Issue
Block a user