Пример #1
0
 void UnselectAbilityButton(AbilityButton button)
 {
     button.SetUnselected();
     button.Refund();
     selectedAbility = null;
     buttons.ForEach(b => {
         b.UpdateButtonStatus();
     });
 }
    void UnselectAbilityButton(AbilityButton button)
    {
        currentlyActivatingAbility = false;

        button.SetUnselected();
        button.Refund();
        uncalled(selectedAbility);
        selectedAbility = null;
        buttons.ForEach(b => {
            b.UpdateButtonStatus();
        });
    }