대화시스템 수정
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user