If you want to make your own character controller, you can lock the cursor to the game (and make it invisible) by using Cursor.lockState = CursorLockState.Locked, then use Input.GetAxis("MouseX") for horizontal movement, which rotates the camera. Then do the same for vertical, if needed :)