//Jimmy Vegas Unity Tutorial //This script will control your camera using System.Collections; using System.Collections.Generic; using UnityEngine; public class CamControl : MonoBehaviour { public int rotateSpeed = 200; void Update () { if (Input.GetAxis("Mouse X") < 0) { transform.Rotate(0, -rotateSpeed * Time.deltaTime, 0); } if (Input.GetAxis("Mouse X") > 0) { transform.Rotate(0, rotateSpeed * Time.deltaTime, 0); } } }