using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;

public class UIHP : MonoBehaviour
{
    public Image imgHp;
    public void ShowHP(int hp, int totalHp)
    {
        imgHp.fillAmount = (float)hp / (float)totalHp;
    }
}
