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

public class rotate : MonoBehaviour
{
    // Start is called before the first frame update
    float ang = 0;
    void Start()
    {

    }

    // Update is called once per frame
    void Update()
    {
        ang += 3*Time.deltaTime;
        if (ang > 360)
            ang -= 360;
        transform.eulerAngles = new Vector3(0,ang,0);
        
    }
}
