Files
dldydtn9755-crypto 07cc9267a8 컴퓨터 수정
2026-07-15 12:53:00 +09:00

29 lines
724 B
C#

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}");
}
}