컴퓨터 수정

This commit is contained in:
dldydtn9755-crypto
2026-07-15 12:53:00 +09:00
parent 1b74e347bf
commit 07cc9267a8
16 changed files with 124 additions and 7 deletions

View File

@@ -0,0 +1,29 @@
using UnityEngine;
public class StoryTestButton : MonoBehaviour
{
public CharacterData testCharacter;
public int addAmount = 10;
[ContextMenu("TEST / Add Affection")]
public void TestAddAffection()
{
if (testCharacter == null)
{
Debug.LogWarning("테스트 캐릭터가 없습니다.");
return;
}
StoryManager.Instance.AddAffection(testCharacter, addAmount);
Debug.Log($"{testCharacter.name} 호감도 +{addAmount}");
}
[ContextMenu("TEST / Add Main Progress")]
public void TestAddMainProgress()
{
StoryManager.Instance.MainProgress += addAmount;
Debug.Log($"메인 진행도 +{addAmount}");
}
}