Example #1
0
    public void AddShield()
    {
        animator.SetBool("hasShield", true);

        if (shield < MAX_SHIELD)
        {
            shield++;
            healthBar.AddShield(shield - 1);
        }
    }