void FixedUpdate()
{
// Read the inputs.
bool crouch = Input.GetKey(KeyCode.LeftControl);
float h = CrossPlatformInput.GetAxis("Horizontal");
float v = CrossPlatformInput.GetAxis ("Vertical");
// Pass all parameters to the character control script.
character.Move( h, v, crouch , jump );
// Reset the jump input once it has been used.
jump = false;
}