스킬 발사체에 데미지 적용하는 로직 추가

This commit is contained in:
aube.lee
2025-02-05 00:06:25 +09:00
parent 8600811a47
commit 6f779c21a0
8 changed files with 91 additions and 2 deletions

View File

@@ -0,0 +1,16 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace TON
{
public class damageTest : MonoBehaviour, IDamage
{
public float hp = 1000;
public void ApplyDamage(float damage)
{
hp -= damage;
}
}
}