add: Level and Game controllers base

update: scripts are now in folders
This commit is contained in:
KOSMOGOR
2025-03-17 15:28:10 +03:00
parent b268225372
commit 2869bfdb33
26 changed files with 171 additions and 2 deletions
+11
View File
@@ -0,0 +1,11 @@
using UnityEngine;
public class Enemy : MonoBehaviour
{
public float hp = 100f;
public void DealDamage(float damage) {
hp -= damage;
if (hp <= 0) Destroy(gameObject);
}
}
+2
View File
@@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: 46894d927b8e6654487b876457ca8974