using UnityEngine;
public class ObjectRotate : MonoBehaviour
{
public float rotationSpeed = 90f;
private void Update()
{
if (Input.GetKey(KeyCode.LeftArrow))
{
transform.Rotate(Vector3.up, -rotationSpeed * Time.deltaTime);
}
if (Input.GetKey(KeyCode.RightArrow))
{
transform.Rotate(Vector3.up, rotationSpeed * Time.deltaTime);
}
}
}

Analyst studies emerging trends in the information technology.