add: Player script with hp

add: player death handling and OnLevelFailed event
This commit is contained in:
KOSMOGOR
2025-04-25 13:40:23 +03:00
parent 202cdb5702
commit dc6707f2a9
9 changed files with 75 additions and 7 deletions
+14
View File
@@ -0,0 +1,14 @@
using UnityEngine;
public class EyeEnemy : Enemy
{
public float _hp = 100;
void Start() {
hp = _hp;
}
void Update() {
}
}
+2
View File
@@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: 48cddee1e4d4837418957a7b4e6315c8