Example #1
0
    private void Update()
    {
        float health = (currentHealth * 100) / MaxHealth;

        healthFiller.fillAmount = health / 100;


        if (currentHealth <= 0)
        {
            mnControl.DieMenuShower();
        }
    }