스킬 발사체에 데미지 적용하는 로직 추가
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user