add: on clear/fail level functionality
This commit is contained in:
@@ -3,6 +3,7 @@ using UnityEngine;
|
||||
public class Enemy : MonoBehaviour
|
||||
{
|
||||
public float hp = 100f;
|
||||
public GameObject prefab;
|
||||
|
||||
public void DealDamage(float damage) {
|
||||
hp -= damage;
|
||||
|
||||
Reference in New Issue
Block a user