진행도에 따른 다음챕터 넘기기

This commit is contained in:
2026-07-14 18:10:13 +09:00
parent 2f95fc0667
commit 1b74e347bf
11 changed files with 169 additions and 4 deletions

View File

@@ -425,6 +425,10 @@ private async Awaitable PlayNode(DialogNode node)
StoryManager.Instance.AddAffection(affectionTarget, node.Affection);
}
// 메인 진행도 증가 — 분기 끝 노드마다 다른 값을 주면 선택지에 따라 진행도가 달라진다
if (node.Progress != 0)
StoryManager.Instance.MainProgress += node.Progress;
// 전용 BGM: 설정돼 있으면 교체, 비어 있으면 기본 BGM으로 복귀
if (SoundManager.Instance != null)
{