17 lines
288 B
C#
17 lines
288 B
C#
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;
|
|
}
|
|
}
|
|
}
|