parent
7ff311b216
commit
ae0c49b0d4
@ -0,0 +1,22 @@
|
|||||||
|
using System.Collections;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using UnityEngine;
|
||||||
|
|
||||||
|
public class enemyBehFleurite : MonoBehaviour
|
||||||
|
{
|
||||||
|
public int currentHealth;
|
||||||
|
public int maxHP = 10;
|
||||||
|
void Start()
|
||||||
|
{
|
||||||
|
currentHealth = maxHP;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Update is called once per frame
|
||||||
|
void Update()
|
||||||
|
{
|
||||||
|
if (currentHealth <= 0)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in new issue