add: on clear/fail level functionality

This commit is contained in:
KOSMOGOR
2025-04-27 17:15:31 +03:00
parent d68058fbee
commit 15ea51e465
3 changed files with 49 additions and 4 deletions
+1
View File
@@ -3,6 +3,7 @@ using UnityEngine;
public class Enemy : MonoBehaviour
{
public float hp = 100f;
public GameObject prefab;
public void DealDamage(float damage) {
hp -= damage;