void Check(Gamepad.Button button, Text text) { if (text == null) { return; } if (Gamepad.JustDown(button)) { text.color = Color.yellow; } else if (Gamepad.Down(button)) { text.color = Color.white; } else { text.color = Color.grey; } }