Пример #1
0
    private void UpdateAbilityUI()
    {
        switch (currentAbility)
        {
        case Ability.SHIELD:
            powerBar.SelectShield();
            break;

        case Ability.GRENADE:
            powerBar.SelectGrenade();
            break;

        default:
            break;
        }
    }