private void ScanForAbiltyKeyDown() { for (int keyIndex = 0; keyIndex <= abilities.GetNumberOfAbilities(); keyIndex++) { if (Input.GetKeyDown(keyIndex.ToString())) { abilities.UseSpecialAbilty(keyIndex); } } }
private void ScanForAbiltyKeyDown() { for (int keyIndex = 0; keyIndex <= abilities.GetNumberOfAbilities(); keyIndex++) { if (Input.GetKeyDown(keyIndex.ToString())) { abilities.UseSpecialAbilty(keyIndex); } } }