private void FixedUpdate() { // pass the input to the car! float h = CrossPlatformInputManager.GetAxis("Horizontal"); float v = CrossPlatformInputManager.GetAxis("Vertical"); #if !MOBILE_INPUT float brake = CrossPlatformInputManager.GetAxis("Jump"); bool accelflag = Input.GetKey(KeyCode.LeftShift); m_Car.Move(h, v, v, brake); m_Car.Accelerate(accelflag); #else m_Car.Move(h, v, v, 0f); #endif }