コード例 #1
0
        private void AbilityClicked(UIAbility ability)
        {
            foreach (var a in Abilities)
            {
                a.Toggled = false;
            }
            ability.Toggled = true;


            ToPlayerAbilitySelectedState(ability.Ability);
        }
コード例 #2
0
 private void Ability_OnClicked(UIAbility ability)
 {
     OnItemBought?.Invoke(this);
 }