剧情+对话完善

This commit is contained in:
SoulliesOfficial
2026-07-21 15:24:42 -04:00
parent 8f230831e9
commit 810d019619
161 changed files with 7271 additions and 1893 deletions

View File

@@ -10,7 +10,7 @@ namespace Ichni.Story.UI
/// 剧情树中的歌曲 Block 视图。
/// 它只保存 <see cref="StoryBlockDefinition.songName"/> 这一个稳定歌曲标识;歌曲名称、作曲者与插画
/// 均从当前章节的 <see cref="SongItemData"/> 读取,避免 StoryData 与选曲资料出现两份可漂移的数据。
/// 点击后切换到选曲并自动选中对应歌曲的流程将在后续阶段接入
/// 点击后会通过 <see cref="StoryManager"/> 打开选曲并自动选中对应歌曲。
/// </summary>
public class SongBlockView : StoryBlockView
{
@@ -129,8 +129,9 @@ namespace Ichni.Story.UI
return;
}
// 占位:后续接入曲目选择流程
Debug.Log($"[SongBlockView] 点击音乐块 '{blockId}' (song='{definition.songName}')。占位实现,曲目选择将在后续阶段接入。");
// StoryManager 统一保存剧情树位置、下发目标歌曲并负责返回恢复SongBlock 只负责
// 已解析且已授权歌曲的入口请求,避免在各个 Block 中复制跨页面路由逻辑。
StoryManager.instance?.TryOpenSongBlock(this, _chapter, _song);
}
}
}