void ScanForAbilityKeyDown() { for (int keyIndex = 1; keyIndex <= abilities.GetNumerOfAbilities(); keyIndex++) { if (Input.GetKeyDown(keyIndex.ToString())) { abilities.AttemptSpecialAbility(keyIndex); } } }
void ScanForAbilityKeyDown() { for (int keyIndex = 1; keyIndex <= abilities.GetNumerOfAbilities(); keyIndex++) { if (Input.GetKeyDown(keyIndex.ToString())) { abilities.AttemptSpecialAbility(keyIndex); } } }