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() {
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 48cddee1e4d4837418957a7b4e6315c8
|
||||
Reference in New Issue
Block a user