대화시스템 수정

This commit is contained in:
2026-07-15 14:07:25 +09:00
parent 376423a2cb
commit e98b6f610d
5 changed files with 41 additions and 8 deletions

View File

@@ -38,6 +38,10 @@ public int MainProgress
}
}
// UnityEvent 연결용 (버튼·이벤트존·노드 이벤트 등에서 진행도 조작)
public void AddMainProgress(int amount) => MainProgress += amount;
public void SetMainProgress(int value) => MainProgress = value;
// ── 호감도 ──────────────────────────────────────────────────
public int GetAffection(CharacterData character)
=> character != null && _state.Affection.TryGetValue(IdOf(character), out var v) ? v : 0;