using UnityEngine; public class DummyMonster : MonoBehaviour, IDamageable { [SerializeField] private float hp = 20f; public void TakeDamage(float amount) { hp -= amount; Debug.Log($"[DummyMonster] ¸ÂÀ½! -{amount}, ³²ÀºHP={hp}"); if (hp <= 0) { Debug.Log("[DummyMonster] »ç¸Á! +5 ·±XP"); if (ObsessionSystem.instance != null) ObsessionSystem.instance.AddRunXP(5); Destroy(gameObject); } } }