>>247
foreachループでFA

foreach(KeyCode code in Enum.GetValues(typeof(KeyCode)))
{
if ( Input.GetKeyDown(code) )
{
// 押されたお
}
}