using System.Collections;
using System.Collections.Generic;
using static UnityEditor.Experimental.AssetDatabaseExperimental.AssetDatabaseCounters;
public class Rotation : MonoBehaviour
public float counter = 0f;
counter = counter + Time.deltaTime * speed;
transform.localRotation = Quaternion.Euler(0,counter,0);