베타적 대화구조

This commit is contained in:
2026-07-15 17:17:21 +09:00
parent 3c0e0ff75d
commit 8f3cacb39c
3 changed files with 10 additions and 5 deletions

Binary file not shown.

View File

@@ -8,7 +8,11 @@
public class StoryManager : MonoBehaviour
{
public static StoryManager Instance { get; private set; }
[Tooltip("플레이 시작 시 메인 진행도 초기값 — 씬을 직접 열어 테스트할 때 그 씬 기준 진행도로 시작하게. " +
"이 매니저가 살아남는 씬(플레이를 시작한 씬)의 값만 적용되고, 씬 전환으로 넘어온 경우엔 무시된다")]
[Min(0)] [SerializeField] private int _initialMainProgress;
private StoryState _state = new();
// 상태가 바뀔 때마다 발행 (호감도 게이지 등 UI 갱신용)
@@ -19,6 +23,7 @@ private void Awake()
if (Instance == null)
{
Instance = this; //만들어진 자신을 인스턴스로 설정
_state.MainProgress = _initialMainProgress; // 테스트용 초기 진행도 (씬 전환으로 넘어온 중복은 여기 못 옴)
}
else
{