HELP!!! Changing "mouseLook" to use arrows

Help! I have a simple mouseLook script on my main camera that obviously uses the mouse to pan around both horizontal and vertical. I am trying to change this from using the mouse to using my arrow keys. I currently have the player movement set up to use the WASD keys, but would like for my camera to pan using the arrow keys at the same time. Kinda like using the WASD keys as the left joystick on a Playstation controller and the arrow keys as the right joystick on a Playstation controller.

I tried to do this, but ended up with some weird movement in the player from the arrow keys being locked to both the camera and player. Any suggestions?

Below is the script for the current mouseLook script I have.

Thanks in advance.

using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class MouseLook : MonoBehaviour
{

public float mouseSensitivity = 100f;
public Transform playerBody;
float xRotation = 0f;

void Start()
{
Cursor.lockState = CursorLockMode.Locked;
}

void Update()
{

float mouseX = Input.GetAxis(“Mouse X”) * mouseSensitivity * Time.deltaTime;
float mouseY = Input.GetAxis(“Mouse Y”) * mouseSensitivity * Time.deltaTime;

xRotation -= mouseY;
xRotation = Mathf.Clamp(xRotation, -90f, 90f);

transform.localRotation = Quaternion.Euler(xRotation, 0f, 0f);

playerBody.Rotate(Vector3.up * mouseX);
}
}

Just open the Input Manager in the Project Settings to change the keys so they’re not tied to the same output.

Please edit your post to use code-tags rather than plain text.

Thanks.