Files
blackhole-escape/Assets/Scripts/Other Scripts/HealthBar.cs
iDunnoDev 0360907df1 Added Main menu Changes to UI
Added Rules Menu Changes to UI
Added Cutscenes to the rules scene
Reorganised Files
2022-06-22 13:30:58 +01:00

14 lines
255 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class HealthBar : MonoBehaviour
{
public Slider health;
public void Health(int newHealth)
{
health.value = newHealth;
}
}