add: Player script with hp
add: player death handling and OnLevelFailed event
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
using UnityEngine;
|
||||
|
||||
public class EyeEnemy : Enemy
|
||||
{
|
||||
public float _hp = 100;
|
||||
|
||||
void Start() {
|
||||
hp = _hp;
|
||||
}
|
||||
|
||||
void Update() {
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user