Unity 3D Camera berputar ke atas dan ke bawah

public class CamRot : MonoBehaviour
{
    public float rotationSpeed = 50;

    void Update()
    {
        Vector3 rotation = transform.eulerAngles;

        rotation.x -= Input.GetAxis("Mouse Y") * rotationSpeed * Time.deltaTime;

        transform.eulerAngles = rotation;
    }
}
wouthur