剧情+对话完善
This commit is contained in:
@@ -81,6 +81,7 @@ namespace Ichni
|
||||
// 不能依赖旧场景中残留的 Block 实例。
|
||||
StoryManager.instance?.OpenChapter(ChapterSelectionManager.instance.currentChapter.chapterIndex);
|
||||
storyUIPage.FadeIn();
|
||||
StoryManager.instance?.RestoreStoryAfterGameReturn();
|
||||
}
|
||||
|
||||
// 返回目标是一次性运行态信息。无论是否能恢复页面,都不能让它在下次重进菜单时重复生效。
|
||||
@@ -96,7 +97,14 @@ namespace Ichni
|
||||
{
|
||||
public void EnterGame()
|
||||
{
|
||||
EnterGame(MenuReturnDestination.SongSelection);
|
||||
// 剧情 SongBlock 仅在玩家确认进入指定目标歌曲后才要求返回剧情;
|
||||
// 普通选曲与从剧情入口改选其它歌曲都继续返回选曲页。
|
||||
StorySongEntryContext context = InformationTransistor.instance?.storySongEntryContext;
|
||||
MenuReturnDestination destination = context != null && context.isActive &&
|
||||
context.returnToStoryAfterGame
|
||||
? MenuReturnDestination.Story
|
||||
: MenuReturnDestination.SongSelection;
|
||||
EnterGame(destination);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user