1
0
Fork 0
boss-room/Assets/Scripts/DragonHealth.cs
2021-07-11 12:41:48 -05:00

16 lines
249 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class DragonHealth : MonoBehaviour
{
private int health = 100;
void Update()
{
if (health <= 100)
{
Debug.Log("Dragon dead :(");
}
}
}