public void Jump(bool jump) { // jump funtion motor.inputJump = jump; if (jump) { character.Jump(); } }