private void ScanForAbilityInput() { for (int i = 1; i < 10; i++) { if (Input.GetKeyDown(i.ToString())) { specialAbilities.TryPerformSpecialAbility(i); } } if (Input.GetKeyDown("0")) { specialAbilities.TryPerformSpecialAbility(10); } }
private void ScanForAbilityInput() { for (int i = 1; i < 10; i++) { if (Input.GetKeyDown(i.ToString())) { specialAbilities.TryPerformSpecialAbility(i); } } if (Input.GetKeyDown("0")) { specialAbilities.TryPerformSpecialAbility(10); } }