private void FixedUpdate() { // hide the player if destroyed if (GameManager.IsGameOver()) { EnablePlayer(false); return; } // get the keyboard input converted to camera space Vector3 input = playerInput.GetCameraSpaceInputDirection(sceneCamera); // use input to move the player playerMover.MovePlayer(input); // aim the turret to the mouse position playerMover.AimAtMousePosition(sceneCamera); }