private void AbilityClicked(UIAbility ability) { foreach (var a in Abilities) { a.Toggled = false; } ability.Toggled = true; ToPlayerAbilitySelectedState(ability.Ability); }
private void Ability_OnClicked(UIAbility ability) { OnItemBought?.Invoke(this); }