コード例 #1
0
 private void ScanForAbilityKeyDown()
 {
     for (int keyIndex = 1; keyIndex < abilities.GetNumberOfAbilities(); keyIndex++)
     {
         if (Input.GetKeyDown(keyIndex.ToString()))
         {
             abilities.AttemptSpecialAblity(keyIndex);
         }
     }
 }