// Pass all relevant inputs to their required components. private void PassHotkeys() { movement.Direction(input.axis["Movement"], acceleration); if (input.keys["Jump"] == true) { movement.Jump(jumpPower); } if (input.keys["Fall"] == true) { movement.JumpEnd(); } if (input.keys["Shoot"] == true) { actions.Shoot(weaponDamage, weaponCooldown); } }