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